Giter Site home page Giter Site logo

Comments (7)

tdechanterac avatar tdechanterac commented on August 24, 2024

I had the same issue, but are you sure it's not the long term memory that still exists ?
From what I understand from the documentation, this kind of memory should be always available.

from chat-copilot.

jonepo avatar jonepo commented on August 24, 2024

At least in this chat-copilot sample project, working and long-term memory are saved with the chat ID tag in the Kernel Memory. So they both are contained within a single conversation, which means there wouldn't be a point in keeping the long-term memory items when the conversation is deleted.

from chat-copilot.

dipteshbosedxc avatar dipteshbosedxc commented on August 24, 2024

Same behaviour. The document persists in memory indefinitely. The RAG functionality is activated even with a new context (such as a new chat session) where the document hasn’t been uploaded. For instance, while my custom plugin operates correctly, it still references a PDF document for RAG purposes due to its retention in long-term memory.

image

from chat-copilot.

jonepo avatar jonepo commented on August 24, 2024

That sounds odd as I thought it always will set the chat session ID as the tag before saving it to the memory. That way it shouldn't return document chunks from other sessions as it filters with the current chat session ID. Maybe it's another bug.

from chat-copilot.

dipteshbosedxc avatar dipteshbosedxc commented on August 24, 2024

You are correct. Seems like Chat Copilot app needs an upgrade. There is no way one can delete uploaded documents or clear the vector database => in this case TextFile

image

from chat-copilot.

jonepo avatar jonepo commented on August 24, 2024

Ah yes, you were talking about the global scoped documents. They indeed are kept there forever as the UI doesn't have the option to delete them. And as they are globally scoped, any chat session can use them as citations.

This issue I created is just related to the chat session scoped document, working, and long-term memory not being deleted when the session is deleted.

from chat-copilot.

Dikarabo-Molele avatar Dikarabo-Molele commented on August 24, 2024

I found that the snipped shared above prevented the system from deleting chat memory files in the storage account and did not remove embeddings in the vector store.

The value of the first item after the split is 'chatmemory' and not the document id

I fixed the issue by referencing DocumentId property instead of Link
image

from chat-copilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.