Skip to main content
Weaviate Docs (migrated from docs.weaviate.io) Docs

Search documentation

Type to search this documentation.

On this pageOverview

Model provider integrations

Weaviate integrates with a variety of self-hosted and API-based models from a range of providers.

This enables an enhanced developed experience, such as the ability to:

  • Import objects directly into Weaviate without having to manually specify embeddings, and
  • Build an integrated retrieval augmented generation (RAG) pipeline with generative AI models.

All API-based model integrations are available by default starting with Weaviate v1.33.

To opt out, for example in an air-gapped or otherwise restricted deployment, set the API_BASED_MODULES_DISABLED environment variable to true. Weaviate then loads only the modules that you list in ENABLE_MODULES. This variable was added in v1.33.

For releases before v1.33, enable all API-based modules by setting the ENABLE_API_BASED_MODULES environment variable to true. Weaviate stopped reading that variable in v1.33.

Model provider Embeddings Generative AI Others
GPT4All (Deprecated) Text (Deprecated) - -
Hugging Face Text, Multimodal (CLIP) - Reranker
KubeAI Text - -
Model2vec Text - -
Meta ImageBind Multimodal - -
Ollama Text Text -

Embedding Model Evaluation & Selection

Embedding models are the heart of vector search. Learn how to evaluate and select appropriate embedding models for your use case.

When a model provider integration for embeddings is enabled, Weaviate automatically generates embeddings for objects that are added to the database.

This is done by providing the source data to the integration provider, which then returns the embeddings to Weaviate. The embeddings are then stored in the Weaviate Database.

Weaviate generates embeddings for objects as follows:

  • Selects properties with text or text[] data types unless they are configured to be skipped
  • Sorts properties in alphabetical (a-z) order before concatenating values
  • Prepends the collection name if configured

Have a question or feedback? Here's how to reach us.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu