UNPKG

tencentcloud-sdk-nodejs

Version:
91 lines (90 loc) 3.05 kB
import { AbstractClient } from "../../../common/abstract_client"; export class Client extends AbstractClient { constructor(clientConfig) { super("hunyuan.tencentcloudapi.com", "2023-09-01", clientConfig); } async GetThread(req, cb) { return this.request("GetThread", req, cb); } async SubmitHunyuanImageJob(req, cb) { return this.request("SubmitHunyuanImageJob", req, cb); } async QueryHunyuanImageJob(req, cb) { return this.request("QueryHunyuanImageJob", req, cb); } async ListGlossary(req, cb) { return this.request("ListGlossary", req, cb); } async ListGlossaryEntry(req, cb) { return this.request("ListGlossaryEntry", req, cb); } async ChatTranslations(req, cb) { return this.request("ChatTranslations", req, cb); } async GetThreadMessageList(req, cb) { return this.request("GetThreadMessageList", req, cb); } async GetEmbedding(req, cb) { return this.request("GetEmbedding", req, cb); } async ImageQuestion(req, cb) { return this.request("ImageQuestion", req, cb); } async CreateGlossaryEntry(req, cb) { return this.request("CreateGlossaryEntry", req, cb); } async UpdateGlossaryEntry(req, cb) { return this.request("UpdateGlossaryEntry", req, cb); } async GroupChatCompletions(req, cb) { return this.request("GroupChatCompletions", req, cb); } async RunThread(req, cb) { return this.request("RunThread", req, cb); } async SetPayMode(req, cb) { return this.request("SetPayMode", req, cb); } async QueryHunyuanImageChatJob(req, cb) { return this.request("QueryHunyuanImageChatJob", req, cb); } async CreateThread(req, cb) { return this.request("CreateThread", req, cb); } async FilesDeletions(req, cb) { return this.request("FilesDeletions", req, cb); } async GetThreadMessage(req, cb) { return this.request("GetThreadMessage", req, cb); } async CreateGlossary(req, cb) { return this.request("CreateGlossary", req, cb); } async DeleteGlossary(req, cb) { return this.request("DeleteGlossary", req, cb); } async FilesUploads(req, cb) { return this.request("FilesUploads", req, cb); } async ActivateService(req, cb) { return this.request("ActivateService", req, cb); } async DeleteGlossaryEntry(req, cb) { return this.request("DeleteGlossaryEntry", req, cb); } async FilesList(req, cb) { return this.request("FilesList", req, cb); } async SubmitHunyuanImageChatJob(req, cb) { return this.request("SubmitHunyuanImageChatJob", req, cb); } async ChatCompletions(req, cb) { return this.request("ChatCompletions", req, cb); } async GetTokenCount(req, cb) { return this.request("GetTokenCount", req, cb); } async TextToImageLite(req, cb) { return this.request("TextToImageLite", req, cb); } }