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

[Feature Request]: Add function to filter Document Chunks(DC) #1855

@MadMaxNice

Description

@MadMaxNice

Do you need to file a feature request?

  • I have searched the existing feature request and this feature request is not already filed.
  • I believe this is a legitimate feature request, not just a question or bug.

Feature Request Description

Please consider adding the Document Chunks(DC) filtering function when ranking results
Filter by "relevance_score" parameter

I conducted my own tests and came to the conclusion that this allows increasing the quality of the answer by reducing the number of hallucinations, since filtering by ranking removes chunks that do not answer the question posed

Example: add "RERANK_MIN_SCORE = 0.5" to the .env file

Expected behavior:
Return values where "relevance_score">= RERANK_MIN_SCORE

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions