Skip to content

Commit

Permalink
docs: Update README to include serde dependencies for stream response…
Browse files Browse the repository at this point in the history
… content deserialization

This is up to the client how to handle the message.

Signed-off-by: Eden Reich <[email protected]>
  • Loading branch information
edenreich committed Feb 2, 2025
1 parent b0794b4 commit b9d2fa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ log::info!("Generated content: {:?}", resp.response.content);
You need to add the following tiny dependencies:

- `futures-util` for the `StreamExt` trait
- `serde` with feature `derive` and `serde_json` for serialization and deserialization of the response content

```rust
use inference_gateway_sdk::{
Expand Down

0 comments on commit b9d2fa7

Please sign in to comment.