tencentcloud-sdk-nodejs-intl-en 3.0.1461 → 3.0.1463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/adp/index.js +3 -0
- package/tencentcloud/adp/v20260520/adp_client.js +71 -0
- package/tencentcloud/adp/v20260520/index.js +4 -0
- package/tencentcloud/adp/v20260520/models.js +1432 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +24 -3
- package/tencentcloud/faceid/v20180301/models.js +29 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/teo/v20220901/models.js +240 -57
- package/tencentcloud/teo/v20220901/teo_client.js +38 -8
package/package.json
CHANGED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const SearchResultPayload = models.SearchResultPayload;
|
|
20
|
+
const SearchContext = models.SearchContext;
|
|
21
|
+
const KVPair = models.KVPair;
|
|
22
|
+
const KnowledgeResult = models.KnowledgeResult;
|
|
23
|
+
const SearchInput = models.SearchInput;
|
|
24
|
+
const FinalRerankConfig = models.FinalRerankConfig;
|
|
25
|
+
const SimilarQuestionExtra = models.SimilarQuestionExtra;
|
|
26
|
+
const SearchKnowledgeRequest = models.SearchKnowledgeRequest;
|
|
27
|
+
const DBRetrievalConfig = models.DBRetrievalConfig;
|
|
28
|
+
const SearchFilterConfig = models.SearchFilterConfig;
|
|
29
|
+
const TokenUsage = models.TokenUsage;
|
|
30
|
+
const KBRetrievalConfig = models.KBRetrievalConfig;
|
|
31
|
+
const ModelParams = models.ModelParams;
|
|
32
|
+
const SearchAdvancedConfig = models.SearchAdvancedConfig;
|
|
33
|
+
const QARetrievalConfig = models.QARetrievalConfig;
|
|
34
|
+
const SearchBilling = models.SearchBilling;
|
|
35
|
+
const TableEnhancement = models.TableEnhancement;
|
|
36
|
+
const KnowledgeSource = models.KnowledgeSource;
|
|
37
|
+
const SearchFilter = models.SearchFilter;
|
|
38
|
+
const RerankConfig = models.RerankConfig;
|
|
39
|
+
const RetrievalOption = models.RetrievalOption;
|
|
40
|
+
const KnowledgeSnippetProfile = models.KnowledgeSnippetProfile;
|
|
41
|
+
const ExpirationAwareness = models.ExpirationAwareness;
|
|
42
|
+
const GraphRAG = models.GraphRAG;
|
|
43
|
+
const ModelDetailInfo = models.ModelDetailInfo;
|
|
44
|
+
const DocRetrievalConfig = models.DocRetrievalConfig;
|
|
45
|
+
const SearchKnowledgeResponse = models.SearchKnowledgeResponse;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* adp client
|
|
50
|
+
* @class
|
|
51
|
+
*/
|
|
52
|
+
class AdpClient extends AbstractClient {
|
|
53
|
+
|
|
54
|
+
constructor(credential, region, profile) {
|
|
55
|
+
super("adp.intl.tencentcloudapi.com", "2026-05-20", credential, region, profile);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Knowledge retrieval
|
|
60
|
+
* @param {SearchKnowledgeRequest} req
|
|
61
|
+
* @param {function(string, SearchKnowledgeResponse):void} cb
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
SearchKnowledge(req, cb) {
|
|
65
|
+
let resp = new SearchKnowledgeResponse();
|
|
66
|
+
this.request("SearchKnowledge", req, resp, cb);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
module.exports = AdpClient;
|