Implementation of the Embedder interface that uses Ollama models for embedding text.
Calculates the difference between two embeddings using cosine distance. Cosine distance is defined as 1 - cosine similarity. The result is a value between 0 and 1, where 0 means the embeddings are identical.
Embeds the given text using the Ollama model.