Find answers from the community

Updated 3 months ago

How to use Ollama for Embeddings?

How to use Ollama for Embeddings?
L
1 comment
pip install llama-index-embeddings-ollama

from llama_index.embeddings.ollama import OllamaEmbedding
embed_model = OllamaEmbedding(model="mistral", request_timeout=60.0)
Add a reply
Sign up and join the conversation on Discord