Add docs for Ollama embeddings (#1933)

Co-authored-by: Deborah <deborah@n8n.io>
Co-authored-by: Deborah Barnard <deborah@starfallprojects.co.uk>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-27 13:59:16 +01:00
committed by GitHub
parent 3c7c186bea
commit cbde569388
4 changed files with 40 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ Available nodes:
* [Embeddings Google PaLM](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsgooglepalm/)
* [Embeddings Hugging Face Inference](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingshuggingfaceinference/)
* [Embeddings Mistral Cloud](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsmistralcloud/)
* [Embeddings Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsollama/)
* [Embeddings OpenAI](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsopenai/)
Learn more about [Text embeddings in LangChain](https://js.langchain.com/docs/modules/data_connection/text_embedding/){:target=_blank .external-link}.

View File

@@ -0,0 +1,37 @@
---
title: Embeddings Ollama
description: Documentation for the Embeddings Ollama node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information.
---
# Embeddings Ollama
Use the Embeddings Ollama node to generate embeddings for a given text.
On this page, you'll find the node parameters for the Embeddings Ollama node, and links to more resources.
/// note | Credentials
You can find authentication information for this node [here](/integrations/builtin/credentials/ollama/).
///
/// note | Examples and templates
For usage examples and templates to help you get started, refer to n8n's [Ollama Embeddings integrations](https://n8n.io/integrations/embeddings-ollama/){:target=_blank .external-link} page.
///
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
## Node parameters
**Model**: the model to use to generate the embedding. Learn more about available models in [Ollama's models documentation](https://ollama.ai/library){:target=_blank .external-link}. Choose from:
* [all-minilm](https://ollama.com/library/all-minilm) (384 Dimensions)
* [nomic-embed-text](https://ollama.com/library/nomic-embed-text) (768 Dimensions)
## Related resources
View [example workflows and related content](https://n8n.io/integrations/embeddings-ollama/){:target=_blank .external-link} on n8n's website.
Refer to [Langchain's Ollama embeddings documentation](https://js.langchain.com/docs/modules/data_connection/text_embedding/integrations/ollama){:target=_blank .external-link} for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
--8<-- "_glossary/ai-glossary.md"

View File

@@ -9,6 +9,7 @@ You can use these credentials to authenticate the following nodes:
* [Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmollama/)
* [Chat Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatollama/)
* [Embeddings Ollama](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsollama/)
## Prerequisites

View File

@@ -744,6 +744,7 @@ nav:
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsgooglepalm.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingshuggingfaceinference.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsmistralcloud.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsollama.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.embeddingsopenai.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatanthropic.md
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatawsbedrock.md