Simple action to process input for the assistant.
(state: State, query: str)
| 29 | |
| 30 | @action(reads=[], writes=["query"]) |
| 31 | def process_input(state: State, query: str) -> State: |
| 32 | """Simple action to process input for the assistant.""" |
| 33 | return state.update(query=query) |
| 34 | |
| 35 | |
| 36 | # All the tools are functions below |