Package | Description |
---|---|
com.tencentcloudapi.lke.v20231130 | |
com.tencentcloudapi.lke.v20231130.models |
Modifier and Type | Method and Description |
---|---|
SaveDocResponse |
LkeClient.SaveDoc(SaveDocRequest req)
知识库文档问答保存。
将文件存储到应用的知识库内需要三步:
1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [智能体开发平台操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
2.调用腾讯云提供的 cos 存储接口,将文件存储到智能体开发平台 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
3.调用本接口,将文件的基础信息存储到智能体开发平台中。
以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
Constructor and Description |
---|
SaveDocRequest(SaveDocRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.