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
Apparently n=5 is only supported by OpenAI. I recommend refactoring the example to not require OpenAI or making it explicit that the example requires OpenAI.
The text was updated successfully, but these errors were encountered:
Hey @clarkebishop ! Thanks a lot for the tip. This doesn't assume OpenAI per se, but you're right that not every provider supports this. I will leave this issue open until we add a note that some providers do not support this parameter.
okhat
changed the title
Tutorial Assumes OpenAI, but does not make it clear.
Example generation with n > 1 is not supported by all providers
Dec 16, 2024
I'm new to DSPy and working through the tutorial.
The docs page, https://github.com/stanfordnlp/dspy/blob/main/docs/docs/learn/programming/modules.md has:
classify = dspy.ChainOfThought('question -> answer', n=5)
Apparently n=5 is only supported by OpenAI. I recommend refactoring the example to not require OpenAI or making it explicit that the example requires OpenAI.
The text was updated successfully, but these errors were encountered: