-
Notifications
You must be signed in to change notification settings - Fork 120
Closed as not planned
Labels
area/integrationsExternal integrations (LLMs, frameworks)External integrations (LLMs, frameworks)kind/improvementImproving something that already existsImproving something that already existspriority/lowNice-to-have, backlogNice-to-have, backlog
Description
Problems with Hamilton integration:
- We can't modify inputs from state
- We can't modify outputs to state
Idea:
h = Hamilton(
inputs={"most_recent_item": from_state("all_items", process=lambda x: x[-1]) # get the last one
outputs={"count": update_state("count", process=lambda count: count + 1)} # increments it
)Also:
h = Hamilton(
inputs=...,
outputs=...,
extra_updates=lambda result, state: ...
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/integrationsExternal integrations (LLMs, frameworks)External integrations (LLMs, frameworks)kind/improvementImproving something that already existsImproving something that already existspriority/lowNice-to-have, backlogNice-to-have, backlog