Skip to content

Releases: pepperoni21/ollama-rs

v0.2.1

07 Sep 17:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 Jun 13:20
Compare
Choose a tag to compare

What's Changed

  • Replace host string and port with Url by @zeozeozeo in #45
  • Flatten final response data by @erhant in #47
  • Examples folder should contain working versions of the current release by @yasinldev in #48
  • Revert "Examples folder should contain working versions of the current release" by @pepperoni21 in #49
  • Ollama Function Calling by @andthattoo in #51
  • OllamaError for function-calling by @andthattoo in #54

New Contributors

Full Changelog: v0.1.9...v0.2.0

v0.1.9

17 Apr 13:37
Compare
Choose a tag to compare

What's Changed

  • Add Serialize Support for Further Stucts by @bencevans in #36
  • fix: Adds back custom Result type for generate function by @jpmcb in #37
  • update: update README streaming example by @milosgajdos in #39
  • make ModelInfo fields empty by default by @zeozeozeo in #40
  • make GenerationContext with pub field by @Vebnik in #43

New Contributors

Full Changelog: v0.1.8...v0.1.9

v0.1.8

30 Mar 19:20
Compare
Choose a tag to compare

What's Changed

  • feat: make GenerationOptions deserializable by @AlexisTM in #28
  • feat: Add an example to show how to load GenerationOptions from a json string by @AlexisTM in #30
  • Derive Eq, PartialEq on MessageRole by @Sir-Photch in #33
  • Re-add Send for GenerationResponseStream by @functorism in #34
  • feat: Store chat history by @ushinnary in #32

New Contributors

Full Changelog: v0.1.7...v0.1.8

v0.1.7

24 Feb 11:06
Compare
Choose a tag to compare

What's Changed

  • Adds example on how to use completion options to README and /examples by @dezoito in #23
  • Derives 'serialize' in GenerationResponse and GenerationFinalResponse by @dezoito in #25
  • GenerationOptions 'stop' should be a string array, not string by @functorism in #26

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.6

18 Jan 19:33
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.5...v0.1.6

v0.1.5

19 Dec 09:14
Compare
Choose a tag to compare

Added image supports:

  • images are represented with the Image struct which is a wrapper for the base64 encoding of the image
  • using images and add_image methods of GenerationRequest
  • using with_images and add_image methods of ChatMessage

v0.1.4

11 Dec 18:46
Compare
Choose a tag to compare

v0.1.3

06 Dec 19:51
Compare
Choose a tag to compare
  • Added rustls support through the rustls feature

  • create_model and create_model_stream methods now take a CreateModelRequest 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

21 Nov 21:02
Compare
Choose a tag to compare
  • Fixed GenerateEmbeddingsResponse struct by making the embeddings field accessible