Skip to content

Commit

Permalink
Spec, readme, and crate description updates (#156)
Browse files Browse the repository at this point in the history
* get latest spec

* update description

* add WASM

* WASM support on experiments branch
  • Loading branch information
64bit authored Nov 25, 2023
1 parent 136a463 commit 4e6df12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion async-openai/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion async-openai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -8187,7 +8188,6 @@ components:
x-oaiTypeLabel: map
nullable: true
required:
- thread_id
- assistant_id
ListRunsResponse:
type: object
Expand Down Expand Up @@ -8303,7 +8303,6 @@ components:
x-oaiTypeLabel: map
nullable: true
required:
- thread_id
- assistant_id

ThreadObject:
Expand Down

0 comments on commit 4e6df12

Please sign in to comment.