8000 [Feature Request]: Retrieve chunks similar to another chunk · Issue #8236 · infiniflow/ragflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature Request]: Retrieve chunks similar to another chunk #8236
Open
@panzi

Description

@panzi

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Is your feature request related to a problem?

We need to find chunks that are similar to another chunk. That would be an easy vector search operation, since the embedding vector of the first chunk is already in RAGFlow's database, but there is no API for that kind of retrieval and as such you need to send the text representation of the chunk and it will run through the embedding process, which is slow and incurs unnecessary API costs.

Describe the feature you'd like

A simple API method to retrieve chunks that are similar to other chunks of the same document. With the same similarity parameter as the retrieve() method.

Describe implementation you've considered

Using the text of the chunk as a query.

Documentation, adoption, use case

Finding similar products to a given product.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    💞 featureFeature request, pull request that fullfill a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0