(WIP) prompt schema change

This commit is contained in:
jaehwang committed 2026-01-19 14:42:31 +09:00
1 parent 2f384fb72a
commit 38323870ec
5 files changed
+177 -106

No files matched your search

+36 -3
View File
@@ -1,5 +1,5 @@
{
"model": "gpt-5.2",
"model": "gpt-5-mini",
"prompt_variables": [
"customer_name",
"region",
@@ -13,7 +13,36 @@
"type": "object",
"properties": {
"report": {
"type": "string"
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail_title": {
"type": "string"
},
"detail_description": {
"type": "string"
}
},
"required": [
"detail_title",
"detail_description"
],
"additionalProperties": false
}
}
},
"required": [
"summary",
"details"
],
"additionalProperties": false
},
"selling_points": {
"type": "array",
@@ -43,12 +72,16 @@
"items": {
"type": "string"
}
},
"contents_advise": {
"type": "string"
}
},
"required": [
"report",
"selling_points",
"tags"
"tags",
"contents_advise"
],
"additionalProperties": false
},
@@ -0,0 +1,58 @@
{
"model": "gpt-5.2",
"prompt_variables": [
"customer_name",
"region",
"detail_region_info"
],
"output_format": {
"format": {
"type": "json_schema",
"name": "report",
"schema": {
"type": "object",
"properties": {
"report": {
"type": "string"
},
"selling_points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"keywords": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"category",
"keywords",
"description"
],
"additionalProperties": false
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"report",
"selling_points",
"tags"
],
"additionalProperties": false
},
"strict": true
}
}
}