gilfernandes / chat_functions

Simple playground chat app that interacts with OpenAI's functions with memory and custom tools.
18 stars 8 forks source link

Adding dynamic parameters to EventsAPIWrapper(BaseModel) #1

Open igormis opened 1 year ago

igormis commented 1 year ago

Hi @gilfernandes I like the structure and the code. I have one question regarding the EventsAPIWrapperClass which has filter_by_country: str = "United Kingdom" which is hard coded and the query is dynamic parameter in the run function. How to make also filter_by_country dynamic parameter?

igormis commented 1 year ago

But I want to have the query intact as it was entered in the tool