flepied / second-brain-agent

🧠 Second Brain AI agent
GNU General Public License v3.0
151 stars 10 forks source link

Use dates in the similarity search #9

Open flepied opened 10 months ago

flepied commented 10 months ago

Improve the scoring of the document retriever by using the updated dates of the document as a parameter for similarity.

Needs https://github.com/flepied/second-brain-agent/issues/8

flepied commented 10 months ago

Follow https://python.langchain.com/docs/modules/data_connection/retrievers/time_weighted_vectorstore