UNPKG

@n8n/n8n-nodes-langchain

Version:

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

30 lines (24 loc) 983 B
/** * Embeddings Cohere Node - Version 1 * Use Cohere Embeddings */ export interface LcEmbeddingsCohereV1Params { /** * The model which will generate the embeddings. &lt;a href="https://docs.cohere.com/docs/models"&gt;Learn more&lt;/a&gt;. * @default embed-english-v2.0 */ modelName?: 'embed-english-light-v2.0' | 'embed-english-light-v3.0' | 'embed-english-v2.0' | 'embed-english-v3.0' | 'embed-multilingual-light-v3.0' | 'embed-multilingual-v2.0' | 'embed-multilingual-v3.0' | Expression<string>; } export interface LcEmbeddingsCohereV1Credentials { cohereApi: CredentialReference; } interface LcEmbeddingsCohereV1NodeBase { type: '@n8n/n8n-nodes-langchain.embeddingsCohere'; version: 1; credentials?: LcEmbeddingsCohereV1Credentials; isTrigger: true; } export type LcEmbeddingsCohereV1ParamsNode = LcEmbeddingsCohereV1NodeBase & { config: NodeConfig<LcEmbeddingsCohereV1Params>; }; export type LcEmbeddingsCohereV1Node = LcEmbeddingsCohereV1ParamsNode;