说明
Viking AI 搜索是一款基于生成式 AI 的企业级 AI 搜索产品,基于大模型的多模态语义表征和理解能力,结合字节跳动信息检索领域多年最佳实践,为客户提供开箱即用的 AI 搜索搭建平台服务,帮助客户轻松搭建和集成端到端的多模态图文搜索和推荐能力。
想要体验更多 Viking AI 搜索能力,点击前往:Viking AI 搜索引擎,企业搜推问一体化智能引擎
不依赖用户输入 query 前缀,根据用户的个性化兴趣、搜索词热度等信息,推荐搜索词列表,主要适用于搜索框底纹词轮播、猜你想搜榜单等业务场景。
其中,${scene_id}是搜索的策略id,search_recommendation 后缀标识该API为猜你想搜API。
可使用API Key或Access Key鉴权,详情参考API 鉴权机制说明
参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
user | User |
| 'user_xxxx' | 用户信息 |
page_size | Integer |
| 5 | 配置最高返回数量 |
min_length | Integer |
| 2 | 配置可接受的 query 字符长度最小值 |
max_length | Integer |
| 10 | 配置可接受的 query 字符长度最大值 |
related_item | String |
| '400408' | 父物品 id |
dataset_id | String |
| '38759234' | 父物品的数据集 id |
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
request_id | String |
| 请求 ID |
recommendation_queries | Array |
| 推荐的query列表 |
curl -X POST 'https://aisearch.cn-beijing.volces.com/api/v1/application/${application_id}/search/${scene_id}/query_recommendation' \ -H 'Content-Type: application/json' \ -H 'X-Account-Id: account_id' \ //此处入参account_id -H 'Authorization: Bearer <API Key>' \ -d '{ "user": { "_user_id": "" }, "page_size": "min_length": "" "max_length": "" "related_item": "" "dataset_id": "" }'
curl -X POST 'https://aisearch.cn-beijing.volces.com/api/v1/application/${application_id}/search/${scene_id}/query_recommendation' \ -H 'Content-Type: application/json' \ -H 'X-Account-Id: account_id' \ //此处入参account_id -H 'Authorization: Bearer <API Key>' \ -d '{ "user": { "_user_id": "" }, "page_size": "min_length": "" "max_length": "" "related_item": "" "dataset_id": "" }'