Releases: pepperoni21/ollama-rs
Releases · pepperoni21/ollama-rs
v0.1.4
- Added chat endpoint support with
send_chat_messages
andsend_chat_messages_stream
methods (see https://github.com/pepperoni21/ollama-rs/blob/master/examples/chat_api_chatbot.rs) - Fixed final data not being parsed in the
GenerationResponse
due to a change from Ollama
v0.1.3
-
Added
rustls
support through therustls
feature -
create_model
andcreate_model_stream
methods now take aCreateModelRequest
as the parameter, allowing to create a model by passing the content of the Modelfile as parameter.For example, this:
ollama.create_model("model".into(), "/tmp/Modelfile.example".into())
becomes:
ollama.create_model(CreateModelRequest::path("model".into(), "/tmp/Modelfile.example".into()))
v0.1.2
- Fixed
GenerateEmbeddingsResponse
struct by making theembeddings
field accessible
v0.1.1
- Highly improved documentation
Model
becomesLocalModel
v0.1.0
- Complete generation (with streaming)
- List local models
- Show model information
- Create/copy/delete/delete models
- Embeddings generation
- Chatbot example