From 4e6df12d9faa18944a3abfd1cea681f823e16d3d Mon Sep 17 00:00:00 2001 From: Himanshu Neema Date: Fri, 24 Nov 2023 21:09:13 -0800 Subject: [PATCH] Spec, readme, and crate description updates (#156) * get latest spec * update description * add WASM * WASM support on experiments branch --- async-openai/Cargo.toml | 2 +- async-openai/README.md | 3 ++- openapi.yaml | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/async-openai/Cargo.toml b/async-openai/Cargo.toml index 9b394c6f..19842b73 100644 --- a/async-openai/Cargo.toml +++ b/async-openai/Cargo.toml @@ -6,7 +6,7 @@ authors = [ ] categories = ["api-bindings", "web-programming", "asynchronous"] keywords = ["openai", "async", "openapi", "ai"] -description = "Async bindings for OpenAI REST API based on OpenAPI spec" +description = "Rust library for OpenAI" edition = "2021" rust-version = "1.65" license = "MIT" diff --git a/async-openai/README.md b/async-openai/README.md index fbddf330..91be74b0 100644 --- a/async-openai/README.md +++ b/async-openai/README.md @@ -36,6 +36,7 @@ - [x] Microsoft Azure OpenAI Service - [x] Models - [x] Moderations + - [x] WASM support (experimental and only available in [`experiments`](https://github.com/64bit/async-openai/tree/experiments) branch) - Support SSE streaming on available APIs - All requests including form submissions (except SSE streaming) are retried with exponential backoff when [rate limited](https://platform.openai.com/docs/guides/rate-limits) by the API server. - Ergonomic builder pattern for all request objects. @@ -110,7 +111,7 @@ Thank you for your time to contribute and improve the project, I'd be happy to h A good starting point would be existing [open issues](https://github.com/64bit/async-openai/issues). ## Complimentary Crates -- [openai-func-enums](https://github.com/frankfralick/openai-func-enums) provides procedural macros that make it easier to use this library with OpenAI API's tool calling feature. It also provides derive macros you can add to existing [clap](https://github.com/clap-rs/clap) application subcommands for natural language use of command line tools. It also supports openai's [parallel tool calls](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) and allows you to choose between running multiple tool calls concurrently or own their own OS threads. +- [openai-func-enums](https://github.com/frankfralick/openai-func-enums) provides procedural macros that make it easier to use this library with OpenAI API's tool calling feature. It also provides derive macros you can add to existing [clap](https://github.com/clap-rs/clap) application subcommands for natural language use of command line tools. It also supports openai's [parallel tool calls](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) and allows you to choose between running multiple tool calls concurrently or own their own OS threads. ## License diff --git a/openapi.yaml b/openapi.yaml index 8974b9dd..d35693f3 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5979,6 +5979,7 @@ components: "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613", + "gpt-3.5-turbo-1106", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0301", @@ -8187,7 +8188,6 @@ components: x-oaiTypeLabel: map nullable: true required: - - thread_id - assistant_id ListRunsResponse: type: object @@ -8303,7 +8303,6 @@ components: x-oaiTypeLabel: map nullable: true required: - - thread_id - assistant_id ThreadObject: