mirror of
https://github.com/mii443/rust-genai.git
synced 2025-08-22 16:25:27 +00:00
. update version to 0.1.7
This commit is contained in:
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,10 +1,23 @@
|
||||
`.` 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.6"`.
|
||||
> - Make sure to **lock** your version, e.g., `genai = "=0.1.7"`.
|
||||
> - Version `0.2.x` will follow semver more strictly.
|
||||
> - API changes will be denoted as "`!` - **API CHANGE** ...."
|
||||
|
||||
## 2024-08-14 - `0.1.7`
|
||||
|
||||
- `+` Added ModelMapper scheme (client_builder::with_model_mapper_fn)
|
||||
- `!` **API CHANGE** Removed `AdapterKindResolver` (should use ModelMapper) (see [examples/c03-mapper.rs](examples/c03-mapper.rs))
|
||||
- `!` **API CHANGE** Renamed `ModelInfo` to `ModelIden`
|
||||
- `!` **API CHANGE** `AuthResolver` - Refactor AuthResolver Scheme/API (see [examples/c02-auth.rs](examples/c02-auth.rs))
|
||||
- `!` **API CHANGE** completely remove `AdapterConfig` (see `AuthResolver`)
|
||||
- `.` test groq - switch to llama3-groq-8b-8192-tool-use-preview for testing to have the test_chat_json work as expected
|
||||
- `^` chore: make stream is send
|
||||
- `.` test - `ChatOptions` - add tests for temperature
|
||||
- `.` A typo in adapters for OpenAI makes the temperature chat option unusable.
|
||||
- `.` unit test - first value_ext insert
|
||||
|
||||
## 2024-07-26 - `0.1.6`
|
||||
|
||||
- `+` ChatOption Add json mode for openai type models
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "genai"
|
||||
version = "0.1.7-wip"
|
||||
version = "0.1.7"
|
||||
edition = "2021"
|
||||
rust-version = "1.79"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
@ -12,14 +12,14 @@ Currently supports natively: **Ollama**, **OpenAI**, **Anthropic**, **groq**, **
|
||||
|
||||
```toml
|
||||
# cargo.toml
|
||||
genai = "=0.1.6" # Version lock for `0.1.x`
|
||||
genai = "=0.1.7" # 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.6"`. 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.7"`. 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.
|
||||
|
||||
|
Reference in New Issue
Block a user