UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

44 lines (38 loc) 1.22 kB
/** * Embeddings Mistral Cloud Node - Version 1 * Use Embeddings Mistral Cloud */ export interface LcEmbeddingsMistralCloudV1Params { /** * The model which will compute the embeddings. &lt;a href="https://docs.mistral.ai/platform/endpoints/"&gt;Learn more&lt;/a&gt;. * @default mistral-embed */ model?: string | Expression<string>; /** * Additional options to add * @default {} */ options?: { /** Maximum number of documents to send in each request * @default 512 */ batchSize?: number | Expression<number>; /** Whether to strip new lines from the input text * @default true */ stripNewLines?: boolean | Expression<boolean>; }; } export interface LcEmbeddingsMistralCloudV1Credentials { mistralCloudApi: CredentialReference; } interface LcEmbeddingsMistralCloudV1NodeBase { type: '@n8n/n8n-nodes-langchain.embeddingsMistralCloud'; version: 1; credentials?: LcEmbeddingsMistralCloudV1Credentials; isTrigger: true; } export type LcEmbeddingsMistralCloudV1ParamsNode = LcEmbeddingsMistralCloudV1NodeBase & { config: NodeConfig<LcEmbeddingsMistralCloudV1Params>; }; export type LcEmbeddingsMistralCloudV1Node = LcEmbeddingsMistralCloudV1ParamsNode;