run-llama / rags

Build ChatGPT over your data, all with natural language
MIT License
6.2k stars 637 forks source link

How additional tools can be set on Home page bot ? #13

Open snassimr opened 9 months ago

snassimr commented 9 months ago

Hi ,

During the Agent creating I got the question about additional tools agent should use :

image

How to answer here if I want to add the Summary or Key tool , for instance

alexfilothodoros commented 9 months ago

Ask it " suggest some additional tools for the RAG".

This will give you a list of some tools.

Then you can type "set the include_summarization parameter to True."

jerryjliu commented 9 months ago

heads up @snassimr i meant to add web tools in the initial release but it wasn't quite ready yet. but that was something on the roadmap

snassimr commented 9 months ago

Hi ,

Looks like I wanted too much . I thought it's possible to add , i.e. keyword_query_engine (SimpleKeywordTableIndex) and agent_util.py code (create_agent function) to be updated accordingly. It will allow experimentation with tools.

Now when I ask to add tools - I prompted to review/edit the config that just created - makes sense to me.

image

@jerryjliu hinted that the example for a tool is web search . I think this is something else.

@jerryjliu Would you to take this issue as feature request for web search or I have just to close the issue ?