pepperoni21 / ollama-rs

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

Update readme to provide compilable embeddings examples #69

Closed ephraimkunz closed 2 months ago

ephraimkunz commented 2 months ago

Recently the embeddings API was updated on main to the Ollama's new API. But the README was not updated. So, update it.

After merging this, a new release should probably be cut and published to crates.io, etc. Otherwise the README documentation won't match the API of the crate fetched via Cargo.