mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc chatgpt
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
{
|
||||
'name': 'ChatGPT4, China Ali,AiGC Center.Ai服务中心,聚合全网Ai',
|
||||
'version': '24.04.19',
|
||||
'version': '24.07.17',
|
||||
'author': 'odooai.cn',
|
||||
'company': 'odooai.cn',
|
||||
'maintainer': 'odooai.cn',
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<record id="chatgpt_robot" model="ai.robot">
|
||||
<field name="name">ChatGPT odoo</field>
|
||||
<field name="provider">openai</field>
|
||||
<field name="ai_model">gpt-4o</field>
|
||||
<field name="endpoint">https://api.openai.com/v1/chat/completions</field>
|
||||
<field name="sequence">1</field>
|
||||
<field name="image_avatar" type="base64" file="app_chatgpt/static/description/src/openai.png"/>
|
||||
|
||||
@@ -26,6 +26,7 @@ class AiRobot(models.Model):
|
||||
set_ai_model = fields.Selection(string="Quick Set Model", selection=[
|
||||
('gpt-3.5-turbo-0125', 'gpt-3.5-turbo-0125(Default and Latest)'),
|
||||
('gpt-3.5-turbo-0613', 'gpt-3.5-turbo-0613'),
|
||||
('gpt-3.5-turbo-0125', 'gpt-3.5-turbo-0125'),
|
||||
('gpt-3.5-turbo-16k-0613', 'gpt-3.5-turbo-16k-0613(Big text)'),
|
||||
('gpt-4', 'Chatgpt 4'),
|
||||
('gpt-4-32k', 'Chatgpt 4 32k'),
|
||||
|
||||
Reference in New Issue
Block a user