UNPKG

@langchain/community

Version:
1 lines • 859 B
{"version":3,"file":"web.cjs","names":["TencentHunyuanEmbeddings","BaseTencentHunyuanEmbeddings","fields?: TencentHunyuanEmbeddingsParams"],"sources":["../../../src/embeddings/tencent_hunyuan/web.ts"],"sourcesContent":["import { sign } from \"../../utils/tencent_hunyuan/web.js\";\nimport {\n TencentHunyuanEmbeddings as BaseTencentHunyuanEmbeddings,\n TencentHunyuanEmbeddingsParams,\n} from \"./base.js\";\n\n/**\n * Class for generating embeddings using the Tencent Hunyuan API.\n */\nexport class TencentHunyuanEmbeddings extends BaseTencentHunyuanEmbeddings {\n constructor(fields?: TencentHunyuanEmbeddingsParams) {\n super({ ...fields, sign });\n }\n}\n\nexport { type TencentHunyuanEmbeddingsParams } from \"./base.js\";\n"],"mappings":";;;;;;;;;;AASA,IAAaA,6BAAb,cAA8CC,sCAA6B;CACzE,YAAYC,QAAyC;EACnD,MAAM;GAAE,GAAG;GAAQ;EAAM,EAAC;CAC3B;AACF"}