Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lesenelir/openai-stream
Implement streaming with openai-node + Express + React.
https://github.com/lesenelir/openai-stream
Last synced: 4 days ago
JSON representation
Implement streaming with openai-node + Express + React.
- Host: GitHub
- URL: https://github.com/lesenelir/openai-stream
- Owner: lesenelir
- License: mit
- Created: 2024-02-27T07:27:42.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-02-27T07:28:49.000Z (12 months ago)
- Last Synced: 2025-02-14T13:09:10.467Z (7 days ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openai-stream
A small demo for streaming response with an express and React project.
Abandon the use of Vercel's AI library.
## Notes
The difference between openai-node and the AI library is that the AI library has an additional layer of encapsulation, where the content returned in a stream is just text, whereas openai-node streams back an object.
## Libraries
- openai-node
- express
- react