Embeddings OpenAI node
Use the Embeddings OpenAI node to generate embeddings for a given text.
On this page, you'll find the node parameters for the Embeddings OpenAI node, and links to more resources.
Credentials: You can find authentication information for this node here.
Node options
- Model: Select the model to use for generating embeddings.
- Base URL: Enter the URL to send the request to. Use this if you are using a self-hosted OpenAI-like model.
- Batch Size: Enter the maximum number of documents to send in each request.
- Strip New Lines: Select whether to remove new line characters from input text (turned on) or not (turned off). n8n enables this by default.
- Timeout: Enter the maximum amount of time a request can take in seconds. Set to
-1for no timeout.
Related resources
Refer to LangChains's OpenAI embeddings documentation (opens in a new tab) for more information about the service.