Skip to main content
POST
Search Chunks

文档块搜索

URL: /v1/search/chunks
方法: POST
描述: 根据指定条件进行语义搜索文档内容块,通常用于 RAG 场景,支持按文档内容或相关字段搜索。

请求参数

说明:
  • 当 categories 为 files 时,可以通过指定 tags 参数来筛选上传的文件(上传时制定了相应的 tags)。

响应参数

请求示例

cURL
Python 示例

响应示例

Authorizations

Authorization
string
header
required

Enter your Bearer token

Body

application/json
query
string
required
folder_ids
string[]
doc_ids
string[]
categories
enum<string>[]

An enumeration.

Available options:
financials,
transcripts,
reports,
news,
files,
filings,
socials,
global_research
markets
enum<string>[]

An enumeration.

Available options:
cn,
hk,
us
institutions
string[]
symbols
string[]
tags
Tags · object
start_date
string
end_date
string
min_score
number
extended_filters
Extended Filters · object[]
num
integer
default:10
include_doc_extra_details
boolean
default:false
refine_question
boolean
default:false
date_range
enum<string>

An enumeration.

Available options:
h,
d,
w,
m,
y

Response

Successful Response

chunks
OAIChunkWithDoc · object[]