. update to verison 0.1.6

This commit is contained in:
Jeremy Chone
2024-07-26 19:02:16 -07:00
parent 0bd5135a6d
commit 429d92c6db
3 changed files with 12 additions and 4 deletions

View File

@ -1,10 +1,18 @@
`.` minor | `-` Fix | `+` Addition | `^` improvement | `!` Change | `*` Refactor
> **IMPORTANT:** `0.1.x` will still have some breaking changes in patches.
> - Make sure to **lock** your version, e.g., `genai = "=0.1.5"`.
> - Make sure to **lock** your version, e.g., `genai = "=0.1.6"`.
> - Version `0.2.x` will follow semver more strictly.
> - API changes will be denoted as "`!` - **API CHANGE** ...."
## 2024-07-26 - `0.1.6`
- `+` ChatOption Add json mode for openai type models
- `.` groq - added the Llama 3.1 previews, and grog-..-tool-use.. to the groq model list names
- `!` now `chat::printer::print_chat_stream` (was `utils::print_chat_stream`)
- `!` Now `ChatOptions` (was `ChatRequestOptions`) ! Remove `client_builder.with_default_chat_request_options` (available with `client_builder.with_chat_options`)
- `.` readme - add youtube videos doc
## 2024-07-21 - `0.1.5`
- `!` - **API CHANGE** now ClientBuilder::insert_adapter_config (was with_adapter_config)

View File

@ -1,6 +1,6 @@
[package]
name = "genai"
version = "0.1.6-wip"
version = "0.1.6"
edition = "2021"
rust-version = "1.79"
license = "MIT OR Apache-2.0"

View File

@ -12,14 +12,14 @@ Currently supports natively: **Ollama**, **OpenAI**, **Anthropic**, **groq**, **
```toml
# cargo.toml
genai = "=0.1.5" # Version lock for `0.1.x`
genai = "=0.1.6" # Version lock for `0.1.x`
```
<br />
The goal of this library is to provide a common and ergonomic single API to many generative AI Providers, such as OpenAI, Anthropic, Cohere, Ollama.
- **IMPORTANT 1** `0.1.x` will still have some breaking changes in patches, so make sure to **lock** your version, e.g., `genai = "=0.1.5"`. In short, `0.1.x` can be considered "beta releases." Version `0.2.x` will follow semver more strictly.
- **IMPORTANT 1** `0.1.x` will still have some breaking changes in patches, so make sure to **lock** your version, e.g., `genai = "=0.1.6"`. In short, `0.1.x` can be considered "beta releases." Version `0.2.x` will follow semver more strictly.
- **IMPORTANT 2** `genai` is focused on normalizing chat completion APIs across AI providers and is not intended to be a full representation of a given AI provider. For this, there are excellent libraries such as [async-openai](https://crates.io/search?q=async-openai) for OpenAI and [ollama-rs](https://crates.io/crates/ollama-rs) for Ollama.