File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 - WASM.
5151 - Middleware support with [ tower] ( https://crates.io/crates/tower ) ecosystem.
5252
53- ** OpenAI compatible providers**
53+ ** + OpenAI compatible providers**
5454 - Bring your own custom types for Request or Response objects.
5555 - Customize path, query and headers per request or for all requests.
5656 - Microsoft Azure OpenAI Service.
@@ -149,10 +149,10 @@ let response: Value = client
149149```
150150
151151This can be useful in many scenarios:
152- - To use this library with other OpenAI compatible APIs whose types don't exactly match OpenAI.
153- - Extend existing types in this crate with new fields with ` serde ` (for example with ` #[ serde( flatten)] ` ).
152+ - When shape of request/response in OpenAI- compatible APIs don't exactly match OpenAI.
153+ - Extend existing types in this crate with new fields like ` extra_body ` (with serde flatten)
154154- To avoid typing verbose types.
155- - To escape deserialization errors.
155+ - To escape deserialization errors on expected type and actual response mismatch .
156156
157157` *_byot ` methods require same trait bounds as regular methods.
158158
You can’t perform that action at this time.
0 commit comments