jan icon indicating copy to clipboard operation
jan copied to clipboard

feat: Add support for Time-weighted vector store retriever

Open hiro-v opened this issue 1 year ago • 1 comments

Problem

  • In long conversation especially with file uploaded, it's likely that the LLM cannot remember the conversational history which is long away (underlying this exceeds LLM context window).

Success Criteria

  • Add support for https://js.langchain.com/docs/modules/data_connection/retrievers/time_weighted_vectorstore in https://github.com/janhq/jan/blob/dev/extensions/assistant-extension/src/node/tools/retrieval/index.ts#L66

Additional context

hiro-v avatar Feb 13 '24 07:02 hiro-v

Can I pick up this issue? @hiro-v @louis-jan

thunhuanh avatar May 13 '24 12:05 thunhuanh