Open josancamon19 opened 2 months ago
As suggested, what if we just include a queries
field in the summarizeMemory
promot itself? And modifying the prompt a bit to generate possible search words, and then pass them to https://serper.dev
Should I go with this approach @josancamon19?
Okay just tried the above mentioned approach with a random video and I think it works!
Is your feature request related to a problem? Please describe. From the memory processing, extract the category, or topics to search relevant links for. If can't build a query from memory processing result, update the memory processing and include a parameter for "search" or smth like that, where it generates a query or list of queries from the memory.
Use https://serper.dev/
In order to generate the memory processing params json instructions for LLM, use langchain parser.
Example:
Some help on the query generation for LLM instructions I was using on a previous project: