Ollama
To use Ollama embeddings, you need to import OllamaEmbedding
from @llamaindex/ollama
.
Note that you need to pull the embedding model first before using it.
In the example below, we're using the nomic-embed-text
model, so you have to call:
Installation
API Reference
Edit on GitHub
Last updated on