mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 12:37:27 +00:00
Sync Haystack API reference on Docusaurus (#10273)
Co-authored-by: anakin87 <44616784+anakin87@users.noreply.github.com>
This commit is contained in:
parent
d4e623d069
commit
6576e0bb5c
@ -355,6 +355,7 @@ pipeline/agent setup.
|
||||
- `description`: Description of the Tool.
|
||||
- `parameters`: A JSON schema defining the parameters expected by the Tool.
|
||||
- `function`: The function that will be invoked when the Tool is called.
|
||||
Must be a synchronous function; async functions are not supported.
|
||||
- `outputs_to_string`: Optional dictionary defining how a tool outputs should be converted into a string.
|
||||
If the source is provided only the specified output key is sent to the handler.
|
||||
If the source is omitted the whole tool result is sent to the handler.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user