diff --git a/app_chatgpt/__manifest__.py b/app_chatgpt/__manifest__.py index c3f83145..912bda8c 100644 --- a/app_chatgpt/__manifest__.py +++ b/app_chatgpt/__manifest__.py @@ -9,8 +9,8 @@ # Copyright (c) 2020-Present InTechual Solutions. () { - 'name': 'ChatGPT 3.5 Image Robot Multi Chat and Training', - 'version': '16.23.03.03', + 'name': 'Latest ChatGPT AI Center. GPT 3.5 Turbo, Dall-E Image.Multi Robot Support. Chat and Training', + 'version': '16.23.03.05', 'author': 'Sunpop.cn', 'company': 'Sunpop.cn', 'maintainer': 'Sunpop.cn', @@ -19,22 +19,26 @@ 'license': 'LGPL-3', 'sequence': 10, 'license': 'AGPL-3', - 'images': ['static/description/banner.png'], + 'images': ['static/description/banner.gif'], 'summary': ''' - Multi Odoo ChatGPT Robot. Support chatgpt 3.5 turbo, text-davinci, DALL·E, Integration All ChatGpt Api. - Chat channel with several ChatGPT Robots. + ChatGpt Odoo AI Center. Multi Odoo ChatGPT Robot. Support chatgpt 3.5 turbo, text-davinci, DALL·E, Integration All ChatGpt Api. + Easy Chat channel with several ChatGPT Robots and train. Whitelist and blacklist for Users or IP. - Base on is_chatgpt_integration from InTechual Solutions. ''', 'description': ''' Allows the application to leverage the capabilities of the GPT language model to generate human-like responses, providing a more natural and intuitive user experience. - 1. Multi ChatGpt robot Connector. Chat and train. - 2. Multi User Chat with ChatGpt - 3. ChatGpt Channel for Group Chat - 4. White and black List for ChatGpt - 5. Demo Chat time for new user - 6. Easy Start and Stop ChatGpt + Base on is_chatgpt_integration from InTechual Solutions. + 1. Multi ChatGpt openAI robot Connector. Chat and train. + 2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image. + 3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat. + 4. White and black List for ChatGpt. + 5. Setup Demo Chat time for every new user. + 6. Easy Start and Stop ChatGpt. + 7. Evaluation the ai robot to make better response. This training. + 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. ''', 'depends': ['base', 'base_setup', 'mail'], 'data': [ diff --git a/app_chatgpt/models/mail_channel.py b/app_chatgpt/models/mail_channel.py index 4254c141..bfbf947e 100644 --- a/app_chatgpt/models/mail_channel.py +++ b/app_chatgpt/models/mail_channel.py @@ -17,7 +17,7 @@ class Channel(models.Model): @api.model def get_openai(self, api_key, ai_model, data, user="Odoo"): headers = {"Content-Type": "application/json", "Authorization": f"Bearer {api_key}"} - R_TIMEOUT = 3 + R_TIMEOUT = 5 if ai_model == 'dall-e2': # todo: 处理 图像引擎,主要是返回参数到聊天中 diff --git a/app_chatgpt/static/description/api_key.png b/app_chatgpt/static/description/api_key.png deleted file mode 100644 index 43ddb036..00000000 Binary files a/app_chatgpt/static/description/api_key.png and /dev/null differ diff --git a/app_chatgpt/static/description/banner.gif b/app_chatgpt/static/description/banner.gif new file mode 100644 index 00000000..b99e57e7 Binary files /dev/null and b/app_chatgpt/static/description/banner.gif differ diff --git a/app_chatgpt/static/description/chatgpt_chat.png b/app_chatgpt/static/description/chatgpt_chat.png deleted file mode 100644 index 7a253e46..00000000 Binary files a/app_chatgpt/static/description/chatgpt_chat.png and /dev/null differ diff --git a/app_chatgpt/static/description/demo1.png b/app_chatgpt/static/description/demo1.png new file mode 100644 index 00000000..ddf88770 Binary files /dev/null and b/app_chatgpt/static/description/demo1.png differ diff --git a/app_chatgpt/static/description/demo2.png b/app_chatgpt/static/description/demo2.png new file mode 100644 index 00000000..3862b87b Binary files /dev/null and b/app_chatgpt/static/description/demo2.png differ diff --git a/app_chatgpt/static/description/demo3.png b/app_chatgpt/static/description/demo3.png new file mode 100644 index 00000000..6ea69be8 Binary files /dev/null and b/app_chatgpt/static/description/demo3.png differ diff --git a/app_chatgpt/static/description/demo4.png b/app_chatgpt/static/description/demo4.png new file mode 100644 index 00000000..e20ecbda Binary files /dev/null and b/app_chatgpt/static/description/demo4.png differ diff --git a/app_chatgpt/static/description/demo5.png b/app_chatgpt/static/description/demo5.png new file mode 100644 index 00000000..40ad9e3d Binary files /dev/null and b/app_chatgpt/static/description/demo5.png differ diff --git a/app_chatgpt/static/description/demo6.png b/app_chatgpt/static/description/demo6.png new file mode 100644 index 00000000..4e0e7fba Binary files /dev/null and b/app_chatgpt/static/description/demo6.png differ diff --git a/app_chatgpt/static/description/demo7.png b/app_chatgpt/static/description/demo7.png new file mode 100644 index 00000000..d5188c8c Binary files /dev/null and b/app_chatgpt/static/description/demo7.png differ diff --git a/app_chatgpt/static/description/demo8.png b/app_chatgpt/static/description/demo8.png new file mode 100644 index 00000000..9d36e5e9 Binary files /dev/null and b/app_chatgpt/static/description/demo8.png differ diff --git a/app_chatgpt/static/description/demo9.png b/app_chatgpt/static/description/demo9.png new file mode 100644 index 00000000..d7151f7b Binary files /dev/null and b/app_chatgpt/static/description/demo9.png differ diff --git a/app_chatgpt/static/description/demoa.png b/app_chatgpt/static/description/demoa.png new file mode 100644 index 00000000..175866ed Binary files /dev/null and b/app_chatgpt/static/description/demoa.png differ diff --git a/app_chatgpt/static/description/icon.png b/app_chatgpt/static/description/icon.png index ac07f385..dff3b07d 100644 Binary files a/app_chatgpt/static/description/icon.png and b/app_chatgpt/static/description/icon.png differ diff --git a/app_chatgpt/static/description/icon1.png b/app_chatgpt/static/description/icon1.png deleted file mode 100644 index 1a45580f..00000000 Binary files a/app_chatgpt/static/description/icon1.png and /dev/null differ diff --git a/app_chatgpt/static/description/index.html b/app_chatgpt/static/description/index.html index 939113f0..1557e0ff 100644 --- a/app_chatgpt/static/description/index.html +++ b/app_chatgpt/static/description/index.html @@ -1,189 +1,198 @@
-
-

ChatGPT Robot Multi Chat and Training

-

More powerful features. Multi chatgpt training at the same time. Base on Integrate Odoo with ChatGPT from InTechual Solutions

-

Allows the application to leverage the capabilities of the GPT language model to generate human-like responses, providing a more natural and intuitive user experience

-
- -
-
-
-
-
-
-
-

Configure ChatGPT API Key

-

Get your OpenAPI API Key

-
-

Get your OpenAPI API Key from: https://platform.openai.com/account/api-keys

-
- -
-
-
-
-
-
+
+
+

Latest ChatGPT AI Center. GPT 3.5, Dall-E Image.Multi Robot Support. Chat and Training

+

Support chatgpt 3.5 turbo, text-davinci, DALL·E(Working Now.), Integration All ChatGpt Api

+
+

Lastest update: v16.23.03.05

+
+ +
+
+
+ Key features: +
    +
  • + + 1. Multi ChatGpt openAI robot Connector. Chat and train. +
  • +
  • + + 2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image. +
  • +
  • + + 3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat. +
  • +
  • + + 4. White and black List for ChatGpt. +
  • +
  • + + 5. Setup Demo Chat time for every new user. +
  • +
  • + + 6. Easy Start and Stop ChatGpt. +
  • +
  • + + 7. Evaluation the ai robot to make better response. This training. +
  • -
    -
    -

    Get Best from ChatGPT

    -
    -

    Give your promts to ChatGPT and get best out of AI.

    -
    - +
  • + + 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. +
  • +
+
+
-
-
-
-
-

Training Chatgpt robot

-
-

You can mark the answer from chatGpt as Good / Bad / Neutral / Redundant / Unhelpful.

-
- -
-
-
-
-
-
-
-
-

Requirements

-
-

- openai python library -
sudo python3 -m pip install openai -
- - OR - -
- pip install openai - Note: Contact us if you find any difficulties in setup/installation. -

-
-
-
-
-
-
- -
-
-

Our other apps you may like!

- -
-
-

Support

-

- -

-

- Please contact us if you need customization/support for this module info@intechualsolutions.com -

-

- https://intechualsolutions.com - Support

- Note: We have changed our company name from Ascents Entrepreneurs to InTechual Solutions -

+

1. Multi ChatGpt openAI robot Connector. Chat and train.

+

Goto Setting--> GPT Robot to setup your robot api.

+

Input your api key, And Select the api model you need to use.

+
+ +
+

You can set the Temperature higer for more creative answer.

+
+
+ + +
+
+

2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image.

+

Choose the model you want to use

+
+ +
+

You can set the Temperature higer for more creative answer.

+
+ +
+
+
+ +
+
+

3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat.

+

Go Settings ->users, bind chatgpt to some user.

+ +
+

So you can have many user, and many chatgpt robot. This provide you an Ai pool.

+
+ +
+

You can set the blacklist to this chatgpt robot to limit request. Also you can setup Demo time for every normal user..

+
+ +
+ +
+ +
+
+

4. White and black List for ChatGpt.

+

5. Setup Demo Chat time for every new user.

+

You can set the blacklist to this chatgpt robot to limit request. Also you can setup Demo time for every normal user..

+
+ +
+
+
+ +
+
+

6. Easy Start and Stop ChatGpt..

+

You can easy chat with the apt robot with odoo IM

+
+ +
+

You can chat with several robot in the same time

+
+ +
+

If you have more than 1 robot in the group. you can @ the specify robot.

+
+ +
+
+
+ + +
+
+

7. Evaluation the ai robot to make better response. This training.

+

You can Evaluation chatgpt's answer. Mark as good for good answer. Mark as back for bad answer.

+

With Evaluation, you can make your ai robot more smart. +

+ +
+
+
+ +
+
+

Multi-language Support..

+

+
+ +
+
+
+ +
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + https://www.sunpop.cn +
+
+
+
+

More Powerful addons, Make your odoo very easy to use, easy customize: + Supop.cn Odoo Addons +

+
+
+ diff --git a/app_chatgpt/static/description/logo.png b/app_chatgpt/static/description/logo.png deleted file mode 100644 index 3cf57902..00000000 Binary files a/app_chatgpt/static/description/logo.png and /dev/null differ diff --git a/app_chatgpt/static/description/main_screenshot.png b/app_chatgpt/static/description/main_screenshot.png deleted file mode 100644 index 4a9c0774..00000000 Binary files a/app_chatgpt/static/description/main_screenshot.png and /dev/null differ diff --git a/app_chatgpt/static/description/src/chatgpt_logo.png b/app_chatgpt/static/description/src/chatgpt_logo.png new file mode 100644 index 00000000..69b6189f Binary files /dev/null and b/app_chatgpt/static/description/src/chatgpt_logo.png differ diff --git a/app_chatgpt/static/description/src/chatgpt_white.png b/app_chatgpt/static/description/src/chatgpt_white.png new file mode 100644 index 00000000..7dabf846 Binary files /dev/null and b/app_chatgpt/static/description/src/chatgpt_white.png differ diff --git a/app_chatgpt/static/description/src/code_bg.gif b/app_chatgpt/static/description/src/code_bg.gif new file mode 100644 index 00000000..a60fe5e9 Binary files /dev/null and b/app_chatgpt/static/description/src/code_bg.gif differ diff --git a/app_chatgpt/static/description/whatsapp_delivery_integration.png b/app_chatgpt/static/description/whatsapp_delivery_integration.png deleted file mode 100644 index 43c5d224..00000000 Binary files a/app_chatgpt/static/description/whatsapp_delivery_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/whatsapp_invoice_integration.png b/app_chatgpt/static/description/whatsapp_invoice_integration.png deleted file mode 100644 index 93b96f3c..00000000 Binary files a/app_chatgpt/static/description/whatsapp_invoice_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/whatsapp_payment_integration.png b/app_chatgpt/static/description/whatsapp_payment_integration.png deleted file mode 100644 index 4db589ad..00000000 Binary files a/app_chatgpt/static/description/whatsapp_payment_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/whatsapp_pos_integration.png b/app_chatgpt/static/description/whatsapp_pos_integration.png deleted file mode 100644 index 29222f53..00000000 Binary files a/app_chatgpt/static/description/whatsapp_pos_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/whatsapp_purchase_integration.png b/app_chatgpt/static/description/whatsapp_purchase_integration.png deleted file mode 100644 index 1717290a..00000000 Binary files a/app_chatgpt/static/description/whatsapp_purchase_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/whatsapp_sale_integration.png b/app_chatgpt/static/description/whatsapp_sale_integration.png deleted file mode 100644 index 7da97127..00000000 Binary files a/app_chatgpt/static/description/whatsapp_sale_integration.png and /dev/null differ diff --git a/app_chatgpt/static/description/wp_all_in_one.gif b/app_chatgpt/static/description/wp_all_in_one.gif deleted file mode 100644 index d8a86e70..00000000 Binary files a/app_chatgpt/static/description/wp_all_in_one.gif and /dev/null differ diff --git a/app_chatgpt/views/ai_robot_views.xml b/app_chatgpt/views/ai_robot_views.xml index 5ea539c4..b3c07668 100644 --- a/app_chatgpt/views/ai_robot_views.xml +++ b/app_chatgpt/views/ai_robot_views.xml @@ -24,12 +24,20 @@ - - + + + +
+ + +
+