Embeddings convert text or other data into vector representations for machine learning and natural language processing tasks.
embeddingsThe embeddings section in your configuration specifies one or more embedding models for your datasets.
Example:
fromThe from field specifies the source of the embedding model. It supports the following prefixes:
huggingface:huggingface.co - Models from Hugging Facefile: - Local file pathsopenai - OpenAI modelsFollows the same convention as models.from.
nameA unique identifier for this embedding component.
filesOptional. A list of files associated with this model. Each file has:
path: The path to the filename: Optional. A name for the filetype: Optional. The type of the file (automatically determined if not specified)Follows the same convention as models.files.
paramsOptional. A map of key-value pairs for additional parameters specific to the embedding model.
dependsOnOptional. A list of dependencies that must be loaded and available before this embedding model.