update data 文件

This commit is contained in:
ivan deng
2023-02-21 21:32:28 +08:00
parent eca09269d9
commit 4a7d48a726
6 changed files with 27 additions and 16 deletions

View File

@@ -6,7 +6,10 @@ from odoo import api, fields, models, _
class GptRobot(models.Model):
_name = 'gpt.robot'
_description = 'Gpt Robot'
_order = 'sequence, name'
name = fields.Char(string='Name')
openapi_api_key = fields.Char(string="API Key", help="Provide the API key here")
temperature = fields.Float(string='Temperature')
temperature = fields.Float(string='Temperature', default=0.9)
sequence = fields.Integer('Sequence', help="Determine the display order", default=10)