Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response Streaming and SSE #2 #3

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

arey
Copy link
Member

@arey arey commented Oct 28, 2024

The ChatGPT API can utilize SSE (Server-Sent Events) to stream responses in real time as they are generated.
LangChain4j supports Response Streaming: https://docs.langchain4j.dev/tutorials/response-streaming/
Thanks to the Spring Server-Sent Events (SSE) support and SSE support in the browser, this Pull Request adds streaming functionality to the chat.

@arey arey added the enhancement New feature or request label Oct 28, 2024
@arey arey requested review from michaelisvy and odedia October 28, 2024 07:05
@arey arey force-pushed the feature/streaming branch from 1d0ec59 to fe6e368 Compare October 28, 2024 07:08
@arey arey force-pushed the feature/streaming branch from fe6e368 to e8e5924 Compare October 28, 2024 14:06
@arey arey merged commit e180a3a into spring-petclinic:main Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant