-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
I am working with the chatreadretrieveread approach. my usecase is that i am discussing with the user car details. we ingest a lot of details about cars and sometimes we need the licence plate of the car so we can call an custom api to get some specific car details via this api.
thanks to @pamelafox her example #2738 (comment) we have implemented this.
but now we find that the default tool is actually most of the time not called, because the default behaviour is that after the get_search_query() the approach bluntly follows STEP 2 and STEP 3 regardless if the 'search_sources' tool is invoked or not.
i do not understand how this then is supposed to work by design with a second tool that is NOT search document but is searching an external API ?
or we move step 2 and 3 inside the 'get_search_query' in the if tool is 'search_sources'?
or we add more logic to skip step 2 and 3 if we are NOT doing a search_sources ... not sure what fits best in the desired long term design?
any suggestions @pamelafox ? your help is much appriciated and very welkom here