mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update gpt po
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
6. Easy Start and Stop ChatGpt.
|
6. Easy Start and Stop ChatGpt.
|
||||||
7. Evaluation the ai robot to make better response. This training.
|
7. Evaluation the ai robot to make better response. This training.
|
||||||
8. Add api support Connect the Microsoft Azure OpenAI Service.
|
8. Add api support Connect the Microsoft Azure OpenAI Service.
|
||||||
|
9. Can set Synchronous or Asynchronous mode for Ai response.
|
||||||
11. Multi-language Support. Multi-Company Support.
|
11. Multi-language Support. Multi-Company Support.
|
||||||
12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
|
||||||
13. Full Open Source.
|
13. Full Open Source.
|
||||||
|
|||||||
@@ -478,8 +478,13 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: app_chatgpt
|
#. module: app_chatgpt
|
||||||
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
||||||
msgid "Ai Center"
|
msgid "Ai Center(Chatgpt)"
|
||||||
msgstr "Ai服务中心"
|
msgstr "Ai服务中心(Chatgpt)"
|
||||||
|
|
||||||
|
#. module: app_chatgpt
|
||||||
|
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
||||||
|
msgid "Seconds"
|
||||||
|
msgstr "秒"
|
||||||
|
|
||||||
#. module: app_chatgpt
|
#. module: app_chatgpt
|
||||||
#: model:ir.model.fields.selection,name:app_chatgpt.selection__res_users__gpt_policy__all
|
#: model:ir.model.fields.selection,name:app_chatgpt.selection__res_users__gpt_policy__all
|
||||||
@@ -27152,13 +27157,13 @@ msgstr ""
|
|||||||
#. module: app_chatgpt
|
#. module: app_chatgpt
|
||||||
#: model:ir.model.fields,field_description:app_chatgpt.field_res_config_settings__openapi_context_timeout
|
#: model:ir.model.fields,field_description:app_chatgpt.field_res_config_settings__openapi_context_timeout
|
||||||
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
||||||
msgid "上下文连接超时"
|
msgid "Connect Timout"
|
||||||
msgstr ""
|
msgstr "上下文连接超时"
|
||||||
|
|
||||||
#. module: app_chatgpt
|
#. module: app_chatgpt
|
||||||
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
||||||
msgid "上下文连接超时 秒数"
|
msgid "After timeout seconds then Disconnect"
|
||||||
msgstr ""
|
msgstr "上下文连接超时(秒)"
|
||||||
|
|
||||||
#. module: app_chatgpt
|
#. module: app_chatgpt
|
||||||
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
#: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from odoo import fields, models
|
|||||||
class ResConfigSettings(models.TransientModel):
|
class ResConfigSettings(models.TransientModel):
|
||||||
_inherit = "res.config.settings"
|
_inherit = "res.config.settings"
|
||||||
|
|
||||||
openapi_context_timeout = fields.Integer(string="上下文连接超时", help="多少秒以内的聊天信息作为上下文继续", config_parameter="app_chatgpt.openapi_context_timeout")
|
openapi_context_timeout = fields.Integer(string="Connect Timout", help="多少秒以内的聊天信息作为上下文继续", config_parameter="app_chatgpt.openapi_context_timeout")
|
||||||
openai_sync_config = fields.Selection([
|
openai_sync_config = fields.Selection([
|
||||||
('sync', 'Synchronous'),
|
('sync', 'Synchronous'),
|
||||||
('async', 'Asynchronous')
|
('async', 'Asynchronous')
|
||||||
|
|||||||
@@ -44,7 +44,10 @@
|
|||||||
<i class="fa fa-check-square-o text-primary"></i>
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
8. Add api support Connect the Microsoft Azure OpenAI Service.
|
8. Add api support Connect the Microsoft Azure OpenAI Service.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
|
9. Can set Synchronous or Asynchronous mode for Ai response.
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-check-square-o text-primary"></i>
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
11. Multi-language Support. Multi-Company Support.
|
11. Multi-language Support. Multi-Company Support.
|
||||||
@@ -163,6 +166,26 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="oe_container">
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
<h1 class="text-danger text-center">8. Add api support Connect the Microsoft Azure OpenAI Service.</h1>
|
||||||
|
<h4 class="oe_slogan"> Azure openai add. It is for china and other country which no chatgpt service.</h4>
|
||||||
|
<div class="oe_demo oe_screenshot">
|
||||||
|
<img src="demo81.jpg"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="oe_container">
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
<h1 class="text-danger text-center">9. Can set Synchronous or Asynchronous mode for Ai response.</h1>
|
||||||
|
<h4 class="oe_slogan"> Synchronous(default) mode can get response then ask question again. Asynchronous mode would make you do other thing when waiting for response.</h4>
|
||||||
|
<div class="oe_demo oe_screenshot">
|
||||||
|
<img src="demo9.jpg"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="oe_container">
|
<section class="oe_container">
|
||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h1 class="text-danger text-center">Multi-language Support..</h1>
|
<h1 class="text-danger text-center">Multi-language Support..</h1>
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@name='integration']" position="after">
|
<xpath expr="//div[@name='integration']" position="after">
|
||||||
<h2>Ai Center</h2>
|
<h2>Ai Center(Chatgpt)</h2>
|
||||||
<div class="col-xs-12 row o_settings_container" id="chatgpt_integraion">
|
<div class="col-xs-12 row o_settings_container" id="chatgpt_integraion">
|
||||||
<div class="col-xs-12 col-md-10 o_setting_box">
|
<div class="col-xs-12 col-md-10 o_setting_box">
|
||||||
<div class="o_setting_right_pane border-start-0">
|
<div class="o_setting_right_pane border-start-0">
|
||||||
<div class="content-group">
|
<div class="content-group">
|
||||||
<div class="row mt0">
|
<div class="row mt0">
|
||||||
<label class="col-lg-2" string="上下文连接超时" for="openapi_context_timeout"/>
|
<label class="col-lg-2" string="Timout then disconnect(s)" for="openapi_context_timeout"/>
|
||||||
<field name="openapi_context_timeout" title="上下文连接超时 秒数" style="width: 10% !important;"/>秒
|
<field name="openapi_context_timeout" title="After timeout seconds then Disconnect" style="width: 10% !important;"/>Seconds
|
||||||
</div>
|
</div>
|
||||||
<div class="row mt0">
|
<div class="row mt0">
|
||||||
<label class="col-lg-2" string="同步配置" for="openai_sync_config"/>
|
<label class="col-lg-2" for="openai_sync_config"/>
|
||||||
<field name="openai_sync_config" title="同步配置" style="width: 10% !important;"/>
|
<field name="openai_sync_config" style="width: 10% !important;"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user