Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Obs AI Assistant] Knowledge base entries are not consistently updated correctly by LLM due to changing identifiers #191085

Closed
sorenlouv opened this issue Aug 22, 2024 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Obs AI Assistant Observability AI Assistant

Comments

@sorenlouv
Copy link
Member

sorenlouv commented Aug 22, 2024

Steps to reproduce

  • Start a new conversation with the prompt: "My favourite color is green. Remember this."
  • Close the first conversation and start another with the prompt: "My favourite color is red. Remember this."
  • (repeat this multiple times with different colors)

Expected behaviour
The LLM should create a knowledge base entry after the first prompt. Any subsequent requests to store a color should update the existing one so there should only ever be a single knowledge base entry about "favourite color" regardless how many times the user asks the LLM.

Actual behaviour
Instead of updating the first entry the LLM (sometimes) creates new entries. This is because the identifier that the LLM assigns to the entry is not stable. In my testing we do not send the existing knowledge base entry to the LLM because during re-ranking it is filtered out with a score of 0 (see screenshot for details).

image
@sorenlouv sorenlouv added bug Fixes for quality problems that affect the customer experience Team:Obs AI Assistant Observability AI Assistant labels Aug 22, 2024
@sorenlouv
Copy link
Member Author

Closed by #191043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Obs AI Assistant Observability AI Assistant
Projects
None yet
Development

No branches or pull requests

1 participant