public class EsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description | 
|---|
| EsClient(Credential credential,
        String region) | 
| EsClient(Credential credential,
        String region,
        ClientProfile profile) | 
| Modifier and Type | Method and Description | 
|---|---|
| ChatCompletionsResponse | ChatCompletions(ChatCompletionsRequest req)本服务支持一系列高性能的大语言模型,包括DeepSeek以及腾讯自主研发的混元大模型,结合混合搜索等先进搜索技术,快速高效实现RAG,有效解决幻觉和知识更新问题。
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
| ChunkDocumentResponse | ChunkDocument(ChunkDocumentRequest req)文本切片是将长文本分割为短片段的技术,用于适配模型输入、提升处理效率或信息检索,平衡片段长度与语义连贯性,适用于NLP、数据分析等场景。
本接口为分隔符规则切片接口,有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
| ChunkDocumentAsyncResponse | ChunkDocumentAsync(ChunkDocumentAsyncRequest req)文本切片是将长文本分割为短片段的技术,用于适配模型输入、提升处理效率或信息检索,平衡片段长度与语义连贯性,适用于NLP、数据分析等场景。
本接口为异步接口,有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。 | 
| GetDocumentChunkResultResponse | GetDocumentChunkResult(GetDocumentChunkResultRequest req)获取文档切片结果 | 
| GetDocumentParseResultResponse | GetDocumentParseResult(GetDocumentParseResultRequest req)本接口用于获取文档解析异步处理结果。 | 
| GetMultiModalEmbeddingResponse | GetMultiModalEmbedding(GetMultiModalEmbeddingRequest req)Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。 本接口有模型维度调用上限控制,单个模型qps限制10,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
| GetTextEmbeddingResponse | GetTextEmbedding(GetTextEmbeddingRequest req)Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。
本接口有模型维度调用上限控制,单个模型qps限制20,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
| ParseDocumentResponse | ParseDocument(ParseDocumentRequest req)本服务可将各类格式文档精准转换为标准格式,满足企业知识库建设、技术文档迁移、内容平台结构化存储等需求。
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)。 | 
| ParseDocumentAsyncResponse | ParseDocumentAsync(ParseDocumentAsyncRequest req)本服务可将各类格式文档精准转换为标准格式,满足企业知识库建设、技术文档迁移、内容平台结构化存储等需求。
本接口为异步接口,有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
| RunRerankResponse | RunRerank(RunRerankRequest req)重排是指在 RAG 过程中,通过评估文档与查询之间的相关性,将最相关的文档放在前面,确保语言模型在生成回答时优先考虑排名靠前的上下文,提高生成结果的准确性和可信度,也可以通过这种方式进行过滤,减少大模型成本。
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。 | 
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreakerpublic EsClient(Credential credential, String region)
public EsClient(Credential credential, String region, ClientProfile profile)
public ChatCompletionsResponse ChatCompletions(ChatCompletionsRequest req) throws TencentCloudSDKException
req - ChatCompletionsRequestTencentCloudSDKExceptionpublic ChunkDocumentResponse ChunkDocument(ChunkDocumentRequest req) throws TencentCloudSDKException
req - ChunkDocumentRequestTencentCloudSDKExceptionpublic ChunkDocumentAsyncResponse ChunkDocumentAsync(ChunkDocumentAsyncRequest req) throws TencentCloudSDKException
req - ChunkDocumentAsyncRequestTencentCloudSDKExceptionpublic GetDocumentChunkResultResponse GetDocumentChunkResult(GetDocumentChunkResultRequest req) throws TencentCloudSDKException
req - GetDocumentChunkResultRequestTencentCloudSDKExceptionpublic GetDocumentParseResultResponse GetDocumentParseResult(GetDocumentParseResultRequest req) throws TencentCloudSDKException
req - GetDocumentParseResultRequestTencentCloudSDKExceptionpublic GetMultiModalEmbeddingResponse GetMultiModalEmbedding(GetMultiModalEmbeddingRequest req) throws TencentCloudSDKException
req - GetMultiModalEmbeddingRequestTencentCloudSDKExceptionpublic GetTextEmbeddingResponse GetTextEmbedding(GetTextEmbeddingRequest req) throws TencentCloudSDKException
req - GetTextEmbeddingRequestTencentCloudSDKExceptionpublic ParseDocumentResponse ParseDocument(ParseDocumentRequest req) throws TencentCloudSDKException
req - ParseDocumentRequestTencentCloudSDKExceptionpublic ParseDocumentAsyncResponse ParseDocumentAsync(ParseDocumentAsyncRequest req) throws TencentCloudSDKException
req - ParseDocumentAsyncRequestTencentCloudSDKExceptionpublic RunRerankResponse RunRerank(RunRerankRequest req) throws TencentCloudSDKException
req - RunRerankRequestTencentCloudSDKExceptionCopyright © 2025. All rights reserved.