Brief Mode
Search keywords with search engine APIs and obtain search results.
Aggregate the snippets of the search results as context and integrate it into the prompt.
Submit the prompt to the LLM and obtain the results.
Detail Mode
Search keywords with search engine APIs and obtain search results.
Store the webpage content of the top two search results and the snippets of the remaining search results in a vector database.
Retrieve the most similar texts from the vector database and integrate them into the prompt as contextual information.
Submit the prompt to the LLM and obtain the results.
https://github.com/vlinx-io/infinite-search Compared with Search With Lepton, we provide two information processing flows.
Can add these functions? thank you!