chore: proper escaping, see #24300, second try
This commit is contained in:
parent
90ce7ccb71
commit
c53ea38280
1 changed files with 11 additions and 15 deletions
26
.github/prompts/language-check.prompt.yml
vendored
26
.github/prompts/language-check.prompt.yml
vendored
|
|
@ -15,18 +15,14 @@ messages:
|
|||
|
||||
model: openai/gpt-4o-mini
|
||||
responseFormat: json_schema
|
||||
jsonSchema: |-
|
||||
{
|
||||
"name": "language_check",
|
||||
"strict": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"is_non_english": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["is_non_english"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
jsonSchema:
|
||||
name: language_check
|
||||
strict: true
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
is_non_english:
|
||||
type: boolean
|
||||
required:
|
||||
- is_non_english
|
||||
additionalProperties: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue