Skip to content

[Question]: Retrieve documents instead of databases #6609

@hahahappyboy

Description

@hahahappyboy

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.

Describe your problem

Hello, thank you for your attention. I have the following problem, I want to retrieve a document with a specific id, not the entire database, I try to implement this requirement with RAGFlow.retrieve, but the function reports an exception. How can I achieve this? Here is my code:
search_doc_id = ['doc_id']
response = rag_object.retrieve(question="What is attention?",dataset_ids=None,document_ids=search_doc_id)

Image

This is RAGFlow.retrieve fuction description:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions