pepperoni21 / ollama-rs

A Rust library allowing to interact with the Ollama API.
MIT License
547 stars 81 forks source link

Ollama Embeding #53

Closed acscoder-digitalonda closed 5 months ago

acscoder-digitalonda commented 6 months ago

I don't see any function to get embeding vector. Do we mising it? https://ollama.com/blog/embedding-models

acscoder-digitalonda commented 6 months ago

never mind , i found it ollama.generate_embeddings(model_name,string,options)