. readme add thanks, changelog fix top_p typo

This commit is contained in:
Jeremy Chone
2024-07-08 06:20:21 -07:00
parent 9e7ed9b5d3
commit fca0543708
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@
## 2024-07-08 - `0.1.2`
- `+` `ChatRequestOptions` - added `temperature`, `max_tokens`, `top_k` for all adapters (see readme for property mapping).
- `+` `ChatRequestOptions` - added `temperature`, `max_tokens`, `top_p` for all adapters (see readme for property mapping).
- `!` `SyncAdapterKindResolverFn` - Change signature to return Result<Option<AdapterKind>> (rather than Result<AdapterKind>)
- `.` made public `client.resolve_adapter_kind(model)`
- `+` implement groq completions

View File

@ -22,7 +22,7 @@ The goal of this library is to provide a common and ergonomic single API to many
- **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.
[Examples](#examples) | [Library Focus](#library-focus) | [Changelog](CHANGELOG.md) | [ChatRequestOptions Provider Mapping](#chatrequestoptions)
[Examples](#examples) | [Thanks](#thanks) [Library Focus](#library-focus) | [Changelog](CHANGELOG.md) | [ChatRequestOptions Provider Mapping](#chatrequestoptions)
## Examples
@ -105,6 +105,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
- [examples/c03-kind.rs](examples/c03-kind.rs) - Demonstrates how to provide a custom `AdapterKindResolver` to customize the "model name" to "adapter kind" mapping.
- [examples/c04-chat-options.rs](examples/c04-chat-options.rs) - Demonstrates how to set chat generation options such as `temperature` and `max_tokens` at the client level (for all requests) and per request level.
## Thanks
- Thanks to [@stargazing-dino](https://github.com/stargazing-dino) for [PR #2](https://github.com/jeremychone/rust-genai/pull/2) - implement groq completions
## Library Focus:
- Focuses on standardizing chat completion APIs across major AI Services.