chore: Making OpenAI label suggestions optional (#8374)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2023-11-17 19:54:15 -08:00
committed by GitHub
parent 2c5a0abcce
commit 7380f0e7ce
6 changed files with 65 additions and 15 deletions

View File

@@ -139,6 +139,7 @@ openai:
"type": "object",
"properties": {
"api_key": { "type": "string" },
"label_suggestion": { "type": "boolean" },
},
"required": ["api_key"],
"additionalProperties": false,
@@ -150,5 +151,11 @@ openai:
"name": "api_key",
"validation": "required",
},
{
"label": "Show label suggestions",
"type": "checkbox",
"name": "label_suggestion",
"validation": "",
},
]
visible_properties: ['api_key']
visible_properties: ['api_key', 'label_suggestion']