v50

latestSwagger 2.0raw.githubusercontent.com2026-08-07307239824.1 KB
FAQ管理

搜索FAQ

使用混合搜索在FAQ中搜索,支持两级优先级标签召回:first_priority_tag_ids优先级最高,second_priority_tag_ids次之

post/knowledge-bases/{id}/faq/search

Path parameters

idstring required

知识库ID

Request body

first_priority_tag_idsinteger[]

第一优先级标签ID列表,限定命中范围,优先级最高

match_countinteger
only_recommendedboolean

是否仅返回推荐的条目

query_textstring required
second_priority_tag_idsinteger[]

第二优先级标签ID列表,限定命中范围,优先级低于第一优先级

vector_thresholdnumber

Response

搜索结果

object required