Ollama | Embeddings

Generate vector embeddings from text input using locally running Ollama models. Embeddings can be used for semantic search, clustering, and other NLP tasks.

Create Embeddings

Generates embeddings for the given text input.


Ollama := TsgcHTTP_API_Ollama.Create(nil);
Ollama.OllamaOptions.Host := 'http://localhost:11434';
WriteLn(Ollama._CreateEmbeddings('llama3', 'Hello world'));