fix: add retriever input_type on RetrieverToolComponent + tests (#3601)
* ✨ (RetrieverTool.py): add "input_types" field to the configuration of the RetrieverToolComponent class * ✅ (generalBugs-shard-12.spec.ts): add end-to-end test for connecting RetrieverTool to other components in the application.
This commit is contained in:
parent
9c8dd8e1f0
commit
7641e81ca3
2 changed files with 98 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class RetrieverToolComponent(CustomComponent):
|
|||
"display_name": "Retriever",
|
||||
"info": "Retriever to interact with",
|
||||
"type": BaseRetriever,
|
||||
"input_types": ["Retriever"],
|
||||
},
|
||||
"name": {"display_name": "Name", "info": "Name of the tool"},
|
||||
"description": {"display_name": "Description", "info": "Description of the tool"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue