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.
- Host: GitHub
- URL: https://github.com/a-poor/openai-stream-rust-demo
- Owner: a-poor
- Created: 2023-05-27T03:01:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-27T03:21:01.000Z (about 3 years ago)
- Last Synced: 2025-03-26T06:35:59.204Z (about 1 year ago)
- Topics: chatgpt, gpt-3, gpt-4, openai, rust
- Language: Rust
- Homepage:
- Size: 70.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openai-stream-rust-demo

_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.