Embed Connectors
OpenAIEmbed
The OpenAIEmbed connector is designed to generate embeddings for text data using OpenAI’s models, providing a bridge between Neum AI documents and OpenAI’s powerful embedding capabilities.
The OpenAIEmbed
class connects Neum AI documents to OpenAI’s embedding service. It provides the functionality to generate text embeddings, which are crucial for various applications such as semantic search and text similarity tasks.
Properties
Required properties:
api_key
: The API key for accessing OpenAI services.
Optional properties:
max_retries
: The maximum number of retries for generating embeddings in case of failures.chunk_size
: The number of documents to process in one batch when generating embeddings.
Was this page helpful?