Add getting-started module: ChatClient fluent API, system/user prompts, streaming, and provider switching via spring.ai.model.chat
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# GET /api/chat/stream -- ChatClient.prompt().user(...).stream().content()
|
||||
|
||||
$ curl -N 'http://localhost:34201/api/chat/stream?message=Stream+this'
|
||||
|
||||
Chunks received: 1
|
||||
Joined: You said: "Stream this". That is 11 characters.
|
||||
Reference in New Issue
Block a user