(How to generate) ModelResponse with multiple results #2184
Unanswered
henningSaulCM
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we noticed the ModelResponse has a concept of potentially including more than one result/generation:
spring-ai/spring-ai-core/src/main/java/org/springframework/ai/model/ModelResponse.java
Line 41 in 6035516
In our exploration/usage we have only come across and handled ModelResponses with a single result.
We would be interested in how we could get a ModelResponse with 2 results, e.g.:
I've had no success with my initial attempts of using prompting to get Spring AI (with chatgpt-40) to return multiple results.
If anybody has some insight into or experience with this topic - your input is much appreciated!
Thank you
--Henning
Beta Was this translation helpful? Give feedback.
All reactions