diff --git a/app_chatgpt/__manifest__.py b/app_chatgpt/__manifest__.py index 1156593a..725eaa73 100644 --- a/app_chatgpt/__manifest__.py +++ b/app_chatgpt/__manifest__.py @@ -37,6 +37,7 @@ 6. Easy Start and Stop ChatGpt. 7. Evaluation the ai robot to make better response. This training. 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. 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition. 13. Full Open Source. diff --git a/app_chatgpt/i18n/zh_CN.po b/app_chatgpt/i18n/zh_CN.po index d4395ab8..74116dd5 100644 --- a/app_chatgpt/i18n/zh_CN.po +++ b/app_chatgpt/i18n/zh_CN.po @@ -478,8 +478,13 @@ msgstr "" #. module: app_chatgpt #: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view -msgid "Ai Center" -msgstr "Ai服务中心" +msgid "Ai Center(Chatgpt)" +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 #: model:ir.model.fields.selection,name:app_chatgpt.selection__res_users__gpt_policy__all @@ -27152,13 +27157,13 @@ msgstr "" #. module: app_chatgpt #: 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 -msgid "上下文连接超时" -msgstr "" +msgid "Connect Timout" +msgstr "上下文连接超时" #. module: app_chatgpt #: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view -msgid "上下文连接超时 秒数" -msgstr "" +msgid "After timeout seconds then Disconnect" +msgstr "上下文连接超时(秒)" #. module: app_chatgpt #: model_terms:ir.ui.view,arch_db:app_chatgpt.is_res_config_settings_view diff --git a/app_chatgpt/models/res_config_settings.py b/app_chatgpt/models/res_config_settings.py index d7b7623b..811aad58 100644 --- a/app_chatgpt/models/res_config_settings.py +++ b/app_chatgpt/models/res_config_settings.py @@ -6,7 +6,7 @@ from odoo import fields, models class ResConfigSettings(models.TransientModel): _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([ ('sync', 'Synchronous'), ('async', 'Asynchronous') diff --git a/app_chatgpt/static/description/index.html b/app_chatgpt/static/description/index.html index 7ce50af6..e0d742ff 100644 --- a/app_chatgpt/static/description/index.html +++ b/app_chatgpt/static/description/index.html @@ -44,7 +44,10 @@ 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. @@ -163,6 +166,26 @@ +
    +
    +

    8. Add api support Connect the Microsoft Azure OpenAI Service.

    +

    Azure openai add. It is for china and other country which no chatgpt service.

    +
    + +
    +
    +
    + +
    +
    +

    9. Can set Synchronous or Asynchronous mode for Ai response.

    +

    Synchronous(default) mode can get response then ask question again. Asynchronous mode would make you do other thing when waiting for response.

    +
    + +
    +
    +
    +

    Multi-language Support..

    diff --git a/app_chatgpt/views/res_config_settings_views.xml b/app_chatgpt/views/res_config_settings_views.xml index 24b01e35..4761936b 100644 --- a/app_chatgpt/views/res_config_settings_views.xml +++ b/app_chatgpt/views/res_config_settings_views.xml @@ -6,18 +6,18 @@ -

    Ai Center

    +

    Ai Center(Chatgpt)

    -
    -