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) 811 B
/** * Embeddings Ollama Node - Version 1 * Use Ollama Embeddings */ export interface LcEmbeddingsOllamaV1Params { /** * The model which will generate the completion. To download models, visit &lt;a href="https://ollama.ai/library"&gt;Ollama Models Library&lt;/a&gt;. * @default llama3.2 */ model?: string | Expression<string>; } export interface LcEmbeddingsOllamaV1Credentials { ollamaApi: CredentialReference; } interface LcEmbeddingsOllamaV1NodeBase { type: '@n8n/n8n-nodes-langchain.embeddingsOllama'; version: 1; credentials?: LcEmbeddingsOllamaV1Credentials; isTrigger: true; } export type LcEmbeddingsOllamaV1ParamsNode = LcEmbeddingsOllamaV1NodeBase & { config: NodeConfig<LcEmbeddingsOllamaV1Params>; }; export type LcEmbeddingsOllamaV1Node = LcEmbeddingsOllamaV1ParamsNode;