mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix gpt robot and config
This commit is contained in:
@@ -1721,8 +1721,8 @@ msgstr ""
|
||||
|
||||
#. module: app_chatgpt
|
||||
#: model:ir.model.fields,field_description:app_chatgpt.field_ai_robot__sensitive_words
|
||||
msgid "Sensitive Words"
|
||||
msgstr "敏感词"
|
||||
msgid "Sensitive Words Plus"
|
||||
msgstr "额外敏感词"
|
||||
|
||||
#. module: app_chatgpt
|
||||
#: model:ir.model.fields,help:app_chatgpt.field_ai_robot__sensitive_words
|
||||
@@ -24949,6 +24949,11 @@ msgstr ""
|
||||
msgid "upwards button"
|
||||
msgstr ""
|
||||
|
||||
#. module: app_chatgpt
|
||||
#: model:ir.model.fields,help:app_chatgpt.field_ai_robot__sensitive_words
|
||||
msgid "Use base Filter in dir models/lib/sensi_words.txt"
|
||||
msgstr "使用此文件进行基础过滤 models/lib/sensi_words.txt"
|
||||
|
||||
#. module: app_chatgpt
|
||||
#. odoo-javascript
|
||||
#: code:addons/app_chatgpt/static/src/models_data/emoji_data.js:0
|
||||
|
||||
@@ -43,8 +43,8 @@ GPT-3 A set of models that can understand and generate natural language
|
||||
engine = fields.Char('Engine', help='If use Azure, Please input the Model deployment name.')
|
||||
api_version = fields.Char('API Version', default='2022-12-01')
|
||||
sequence = fields.Integer('Sequence', help="Determine the display order", default=10)
|
||||
sensitive_words = fields.Text('Sensitive Words', help='Sensitive word filtering. Separate keywords with a carriage return.')
|
||||
is_filtering = fields.Boolean('Filter Sensitive Words', default=False)
|
||||
sensitive_words = fields.Text('Sensitive Words Plus', help='Sensitive word filtering. Separate keywords with a carriage return.')
|
||||
is_filtering = fields.Boolean('Filter Sensitive Words', default=False, help='Use base Filter in dir models/lib/sensi_words.txt')
|
||||
|
||||
def action_disconnect(self):
|
||||
requests.delete('https://chatgpt.com/v1/disconnect')
|
||||
|
||||
Reference in New Issue
Block a user