Open Weaxs opened 2 months ago
What is the current implementation progress of contextual retrieval? @Weaxs
We are really interested in this feature and we would like to help to implement this.
@Weaxs Hi. Is any update in this feature?
@Weaxs Hi. Is any update in this feature?
sorry, I do not start this feature yet.
I will try to figure it out before Nov. , and submit pr and review maybe ... Dec. I’ll try as soon as possible. 🥺
ContextualRecursiveCharacterTextSplitter
for contextual-retrieval text splitter (call _text_splitter_instance.split_text
)summarize_model_instance
for summarize contextual message (this will consume system llm tokens)user edit and update chunk after upload and index Without processing. The chunk will change to appear as edited by the user, with no additional processing.
tokens which joint the whole document and chunk exceeds summarize model max_tokens maybe call a new api in front-end step-two for telling user can not support contextual-retrieval when use current system llm
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
https://www.anthropic.com/news/contextual-retrieval
2. Additional context or comments
have 2 problem:
3. Can you help us with this feature?