An open API service indexing awesome lists of open source software.

https://github.com/a-poor/openai-stream-rust-demo

Demo making a streaming request to the OpenAI chat completion endpoint with Rust.
https://github.com/a-poor/openai-stream-rust-demo

chatgpt gpt-3 gpt-4 openai rust

Last synced: about 1 month ago
JSON representation

Demo making a streaming request to the OpenAI chat completion endpoint with Rust.

Awesome Lists containing this project

README

          

# openai-stream-rust-demo

![Rust app output – streaming the GPT response](./etc/demo.gif)

_created by Austin Poor_

A demo of making a request to the OpenAI chat completion endpoint and
streaming the response – printing it to the terminal as it's returned.