-
Notifications
You must be signed in to change notification settings - Fork 738
Closed
Labels
Description
When a python dict is entered (e.g. copied from openai website), the False value (which is capitalized) fails JSON validation (it should be lower case instead), but behind the scene a different response format (the default version) is saved to database without user's knowledge.
{
"type": "json_schema",
"json_schema": {
"name": "math_response",
"strict": True,
"schema": {
"type": "object",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"explanation": {"type": "string"},
"output": {"type": "string"},
},
"required": ["explanation", "output"],
"additionalProperties": False,
},
},
"final_answer": {"type": "string"},
},
"required": ["steps", "final_answer"],
"additionalProperties": False,
},
},
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done