-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support Response Format in Playground #5259
feat: Support Response Format in Playground #5259
Conversation
9d2dbbe
to
89aa45d
Compare
@@ -219,3 +257,23 @@ export const llmToolSchema = z | |||
.optional(); | |||
|
|||
export type LlmToolSchema = z.infer<typeof llmToolSchema>; | |||
|
|||
export const openAIResponseFormatSchema = z.lazy(() => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this work with anthropic? Is the "strict" the only thing that is openai specific here? Just thinking about the naming and the unraveling we had to do before, anyway we can be a little more agnostic and allow for anthropic and openai in the same go in this pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anthropic does not have response format as of now. this was intended to be the "hub" schema that we would add spokes off of, like anthropic in the future if necessary
Still need to figure out why unrelated fields are failing
e5945ee
to
7a7aba0
Compare
response.format.mov
Resolves #5247
Resolves #5233