Skip to content

Commit

Permalink
v0.2.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperoni21 committed Jun 13, 2024
1 parent 0590054 commit 5f10610
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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._

Expand Down

0 comments on commit 5f10610

Please sign in to comment.