SearchAgent
- model (BaseModelBackend, optional): The model backend to use for generating responses. (default: :obj:
OpenAIModel
withGPT_4O_MINI
)
init
summarize_text
- text (str): Text to summarize.
- query (str): What information you want.
continue_search
- query (str): The question.
- answer (str): The answer to the question.
True
if the user want to continue search, False
otherwise.