@n8n/n8n-nodes-langchain
Version:

30 lines (24 loc) • 811 B
text/typescript
/**
* Embeddings Ollama Node - Version 1
* Use Ollama Embeddings
*/
export interface LcEmbeddingsOllamaV1Params {
/**
* The model which will generate the completion. To download models, visit <a href="https://ollama.ai/library">Ollama Models Library</a>.
* @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;