From 5f10610285ad6b774e8cbb41b539e352627bd3b5 Mon Sep 17 00:00:00 2001 From: pepperoni21 Date: Thu, 13 Jun 2024 15:17:03 +0200 Subject: [PATCH] v0.2.0 update --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbc31fd..afb9880 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -683,7 +683,7 @@ dependencies = [ [[package]] name = "ollama-rs" -version = "0.1.9" +version = "0.2.0" dependencies = [ "async-trait", "base64", diff --git a/Cargo.toml b/Cargo.toml index b155048..9f4c454 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ollama-rs" -version = "0.1.9" +version = "0.2.0" edition = "2021" license-file = "LICENSE.md" description = "A Rust library for interacting with the Ollama API" diff --git a/README.md b/README.md index f55e3c0..8664f69 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It was made following the [Ollama API](https://github.com/jmorganca/ollama/blob/ ```toml [dependencies] -ollama-rs = "0.1.9" +ollama-rs = "0.2.0" ``` ### Initialize Ollama @@ -25,8 +25,8 @@ let ollama = Ollama::new("http://localhost".to_string(), 11434); ## Usage -Feel free to check the [Chatbot example](https://github.com/pepperoni21/ollama-rs/blob/0.1.9/examples/basic_chatbot.rs) that shows how to use the library to create a simple chatbot in less than 50 lines of code. -You can also check some [other examples](https://github.com/pepperoni21/ollama-rs/tree/0.1.9/examples). +Feel free to check the [Chatbot example](https://github.com/pepperoni21/ollama-rs/blob/0.2.0/examples/basic_chatbot.rs) that shows how to use the library to create a simple chatbot in less than 50 lines of code. +You can also check some [other examples](https://github.com/pepperoni21/ollama-rs/tree/0.2.0/examples). _These examples use poor error handling for simplicity, but you should handle errors properly in your code._