jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Folders can be learned with /learn multiple times

Open 3coins opened this issue 1 year ago • 4 comments

Summary

If a directory has been already indexed with a previous /learn command, and is submitted for learning again, this proceeds without any warning. However, when the /ask command is used subsequently, the response contains all the extra context because of the duplicate document in the vector store.

Note: So, far only observed this issue with the anthropic:claude-v1.2 model. With openai:gpt-3.5-turbo, the LLM seems to work ok through the duplicate content.

3coins avatar May 03 '23 18:05 3coins