Open
Description
The below code throws error when this schema is passed in LlamaIndex's JSONQueryEngine. The error occurs because the key Issue id
has a space in between. Tried this after removing the space with underscore and it worked
json_schema = {
"description": "Schema defining the jira tickets and their related data",
"type": "object",
"properties": {
"issues": {
"description": "List of Jira tickets with their related data",
"type": "array",
"items": {
"type": "object",
"properties": {
"Summary": {
"description": "Summary of an issue",
"type": "string"
},
"Issue id": {
"description": "Issue id of an issue",
"type": "integer"
}
},
}
}
},
}
Metadata
Metadata
Assignees
Labels
No labels