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

Search documentation

Type to search this documentation.

On this pageOverview

Morph + Weaviate

Morph serves code and text embedding models behind an OpenAI-compatible API. Weaviate integrates with Morph's embedding endpoint so you can vectorize and search data using Morph-hosted models directly from your Weaviate instance.

Embedding integration illustration

Morph exposes embedding models over an OpenAI-compatible /v1/embeddings API at https://api.morphllm.com.

Weaviate integrates with Morph's embedding models through the text2vec-morph vectorizer module. Configure a vector index to use a Morph model and Weaviate generates embeddings for imports, vector searches, and hybrid searches automatically.

Morph embedding integration page

This integration lets you use Morph's hosted embedding models from Weaviate without managing inference infrastructure yourself.

Generate an API key in the Morph dashboard, then supply it to Weaviate through the MORPH_APIKEY environment variable or the X-Openai-Api-Key request header. The header name is shared with the OpenAI integration, because Morph requests are built by the same OpenAI-compatible client inside Weaviate. Then see the embedding integration page:

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