Skip to content

Response Streaming and SSE #2#3

Merged
arey merged 1 commit into
spring-petclinic:mainfrom
arey:feature/streaming
Oct 29, 2024
Merged

Response Streaming and SSE #2#3
arey merged 1 commit into
spring-petclinic:mainfrom
arey:feature/streaming

Conversation

@arey
Copy link
Copy Markdown
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
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