Skip to content

[Feature]: 调用 RAG API 升级,使用 resource_ids 参数支持目录与文件混合检索 #86

@chlsmile

Description

@chlsmile

Feature Type

Other

Problem Description

当前在调用 RAG API 进行知识检索或检索式生成时,传入的参数为 file_ids。该参数暂不支持传入类型为 dir 的 file_id

Proposed Solution

调整 RAG API 的调用参数。RAG API 在知识检索和检索式生成两种场景下均新增了参数 resource_ids,该参数支持同时传入 file_ids 以及类型为 dir 的 file_id

Alternatives Considered

No response

Priority

High - Blocking my use case

Implementation

  • I'm willing to submit a PR for this feature
  • I can help with testing
  • I can help with documentation

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