File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,11 @@ val advisor = new MessageChatMemoryAdvisor(memory);
152152val cl = ChatClient . builder(client). defaultAdvisors(advisor). build();
153153
154154Prompt prompt1 = new Prompt (" What is the capital of France?" , defaultOptions);
155- String content = cl. prompt(prompt1). call(). content();
156- // content is "Paris"
155+ String content1 = cl. prompt(prompt1). call(). content();
156+ // content1 is "Paris"
157157
158158Prompt prompt2 = new Prompt (" And what is the typical food there?" , defaultOptions);
159- ChatResponse response = cl. prompt(prompt2). call(). chatResponse ();
159+ String content2 = cl. prompt(prompt2). call(). content ();
160160// chat memory will remember that the user is inquiring about France.
161161```
162162
You can’t perform that action at this time.
0 commit comments