这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: Workspace Similarity Score threshold is not being respected #4080

@frost19k

Description

@frost19k

How are you running AnythingLLM?

Docker (local)

What happened?

Unrelated queries are pulling references documents with 0 or even negative similarity scores. If prompt query is relevant to documents then it seems to work very well.

AnythinLLM v1.8.2
LanceDB
OpenAI LLM (chatgpt-4o-latest)
LocalAI Embedder (mxbai-embed-large-v1)

Image

Image

Are there known steps to reproduce?

  1. Create Workspace
  2. Configure Vector Database for Workspace to Accuracy Optimised
  3. Set 0.75 threshold
  4. Upload documents
  5. Prompt with unrelated query (Meybe just "Hello")
  6. Observe that citations include references with similarity scores of 0 or lower!

Metadata

Metadata

Assignees

Labels

investigatingCore team or maintainer will or is currently looking into this issuepossible bugBug was reported but is not confirmed or is unable to be replicated.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions