You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* types for Chat API; API group for chat; example for chat completion
* oops: example for chat completion
* types to use for chat streamingc
* chat streaming example
* add comment for reason for different type
* add audio transcribe support
* add audio transcribe example
* audio translate
* add translation example
* update types with updated openapi spec
* update openapi spec yaml file
* more merge conflict resolution
* additional output
* update readme
* update example dependencies
* remove unused duplicate types
* fix
/// as they become available, with the stream terminated by a data: \[DONE\] message.
34
+
/// partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message.
36
35
///
37
-
/// [ChatResponseStream] is a parsed SSE stream until a \[DONE\] is received from server.
36
+
/// [ChatCompletionResponseStream] is a parsed SSE stream until a \[DONE\] is received from server.
Copy file name to clipboardExpand all lines: async-openai/src/lib.rs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@
48
48
//! ## Examples
49
49
//! For full working examples for all supported features see [examples](https://github.com/64bit/async-openai/tree/main/examples) directory in the repository.
0 commit comments