10 lines
379 B
JavaScript
10 lines
379 B
JavaScript
import { sign } from "../../utils/tencent_hunyuan/web.js";
|
|
import { TencentHunyuanEmbeddings as BaseTencentHunyuanEmbeddings, } from "./base.js";
|
|
/**
|
|
* Class for generating embeddings using the Tencent Hunyuan API.
|
|
*/
|
|
export class TencentHunyuanEmbeddings extends BaseTencentHunyuanEmbeddings {
|
|
constructor(fields) {
|
|
super({ ...fields, sign } ?? { sign });
|
|
}
|
|
}
|