← all repositories

Grt1228/chatgpt-steam-output

A Spring Boot demo project that implements real-time streaming output for OpenAI ChatGPT using SSE and WebSocket protocols.

chatgpt-steam-output
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

This project serves as a reference example for the chatgpt-java SDK, demonstrating how to implement server-sent events (SSE) and WebSocket-based streaming for ChatGPT responses. It provides support for both H5 and native mobile platforms, calculates token usage, and integrates with GPT-3.5-turbo and GPT-4 models through the OpenAI API.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.