You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched existing ideas and did not find a similar one
I added a very descriptive title
I've clearly described the feature request and motivation for it
Feature request
LangChain currently does not support retrieving multiple alternative completions (n > 1) when using structured outputs with OpenAI models. This capability would be beneficial for applications that require multiple possible outputs for ranking, ensemble methods, or diversity-based selection.
Expected Behavior:
• Return multiple structured outputs in response, each representing an alternative completion.
Motivation
• Generating multiple structured responses for reranking.
• Exploring diverse structured outputs to increase robustness in decision-making systems.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
LangChain currently does not support retrieving multiple alternative completions (n > 1) when using structured outputs with OpenAI models. This capability would be beneficial for applications that require multiple possible outputs for ranking, ensemble methods, or diversity-based selection.
Expected Behavior:
• Return multiple structured outputs in response, each representing an alternative completion.
Motivation
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions