udpate gpt

This commit is contained in:
ivan deng
2023-03-05 17:29:44 +08:00
parent d4a0e54fb5
commit a31689057f
31 changed files with 213 additions and 192 deletions

View File

@@ -9,8 +9,8 @@
# Copyright (c) 2020-Present InTechual Solutions. (<https://intechualsolutions.com/>) # Copyright (c) 2020-Present InTechual Solutions. (<https://intechualsolutions.com/>)
{ {
'name': 'ChatGPT 3.5 Image Robot Multi Chat and Training', 'name': 'Latest ChatGPT AI Center. GPT 3.5 Turbo, Dall-E Image.Multi Robot Support. Chat and Training',
'version': '16.23.03.03', 'version': '16.23.03.05',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'company': 'Sunpop.cn', 'company': 'Sunpop.cn',
'maintainer': 'Sunpop.cn', 'maintainer': 'Sunpop.cn',
@@ -19,22 +19,26 @@
'license': 'LGPL-3', 'license': 'LGPL-3',
'sequence': 10, 'sequence': 10,
'license': 'AGPL-3', 'license': 'AGPL-3',
'images': ['static/description/banner.png'], 'images': ['static/description/banner.gif'],
'summary': ''' 'summary': '''
Multi Odoo ChatGPT Robot. Support chatgpt 3.5 turbo, text-davinci, DALL·E, Integration All ChatGpt Api. ChatGpt Odoo AI Center. Multi Odoo ChatGPT Robot. Support chatgpt 3.5 turbo, text-davinci, DALL·E, Integration All ChatGpt Api.
Chat channel with several ChatGPT Robots. Easy Chat channel with several ChatGPT Robots and train.
Whitelist and blacklist for Users or IP. Whitelist and blacklist for Users or IP.
Base on is_chatgpt_integration from InTechual Solutions.
''', ''',
'description': ''' 'description': '''
Allows the application to leverage the capabilities of the GPT language model to generate human-like responses, 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. providing a more natural and intuitive user experience.
1. Multi ChatGpt robot Connector. Chat and train. Base on is_chatgpt_integration from InTechual Solutions.
2. Multi User Chat with ChatGpt 1. Multi ChatGpt openAI robot Connector. Chat and train.
3. ChatGpt Channel for Group Chat 2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image.
4. White and black List for ChatGpt 3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat.
5. Demo Chat time for new user 4. White and black List for ChatGpt.
6. Easy Start and Stop 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'], 'depends': ['base', 'base_setup', 'mail'],
'data': [ 'data': [

View File

@@ -17,7 +17,7 @@ class Channel(models.Model):
@api.model @api.model
def get_openai(self, api_key, ai_model, data, user="Odoo"): def get_openai(self, api_key, ai_model, data, user="Odoo"):
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {api_key}"} headers = {"Content-Type": "application/json", "Authorization": f"Bearer {api_key}"}
R_TIMEOUT = 3 R_TIMEOUT = 5
if ai_model == 'dall-e2': if ai_model == 'dall-e2':
# todo: 处理 图像引擎,主要是返回参数到聊天中 # todo: 处理 图像引擎,主要是返回参数到聊天中

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -1,189 +1,198 @@
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced" >
<h1 class="oe_slogan" style="color:#875A7B;">ChatGPT Robot Multi Chat and Training</h1>
<h2 class="oe_slogan" style="color:#875A7B;">More powerful features. Multi chatgpt training at the same time. Base on Integrate Odoo with ChatGPT from InTechual Solutions</h2>
<h3 class="oe_slogan">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</h3>
<div class="oe_demo oe_picture oe_screenshot">
<img src="banner.png">
</div>
</div>
</section>
<br/>
<br/>
<section class="oe_container oe_mt32">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Configure ChatGPT API Key</h2>
<h3 class="oe_slogan">Get your OpenAPI API Key</h3>
<div class="oe_span12"> <div class="oe_span12">
<p class="oe_mt32 oe_mb32 text-justify">Get your OpenAPI API Key from: <a href="https://platform.openai.com/account/api-keys">https://platform.openai.com/account/api-keys</a></p> <h2 class="oe_slogan"> Latest ChatGPT AI Center. GPT 3.5, Dall-E Image.Multi Robot Support. Chat and Training </h2>
<div class="oe_demo oe_picture oe_screenshot"> <h3 class="oe_slogan"> Support chatgpt 3.5 turbo, text-davinci, DALL·E(Working Now.), Integration All ChatGpt Api </h3>
<img class='img-responsive' src="api_key.png"> <div class="oe_row">
<h3>Lastest update: v16.23.03.05</h3>
<div class="oe_span12">
<img class="oe_demo oe_screenshot" style="max-height: 100%;" src="banner.gif">
</div> </div>
</div> <div class="oe_span12 oe_spaced">
</div> <div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
</section> <i class="fa fa-hand-o-right"></i><b> Key features: </b>
<br/> <ul class="list-unstyled">
<br/> <li>
<i class="fa fa-check-square-o text-primary"></i>
1. Multi ChatGpt openAI robot Connector. Chat and train.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
4. White and black List for ChatGpt.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
5. Setup Demo Chat time for every new user.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
6. Easy Start and Stop ChatGpt.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
7. Evaluation the ai robot to make better response. This training.
</li>
<section class="oe_container oe_mt32"> <li>
<div class="oe_row oe_spaced"> <i class="fa fa-check-square-o text-primary"></i>
<h2 class="oe_slogan" style="color:#875A7B;">Get Best from ChatGPT</h2> 11. Multi-language Support. Multi-Company Support.
<div class="oe_span12"> </li>
<p class="oe_mt32 oe_mb32 text-justify">Give your promts to ChatGPT and get best out of AI.</p> <li>
<div class="oe_demo oe_picture oe_screenshot"> <i class="fa fa-check-square-o text-primary"></i>
<img class='img-responsive' src="chatgpt_chat.png"> 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
13. Full Open Source.
</li>
</ul>
</div> </div>
</div> </div>
</div> </div>
</section>
<br/>
<br/>
<section class="oe_container oe_mt32">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Training Chatgpt robot</h2>
<div class="oe_span12">
<p class="oe_mt32 oe_mb32 text-justify">You can mark the answer from chatGpt as Good / Bad / Neutral / Redundant / Unhelpful.</p>
<div class="oe_demo oe_picture oe_screenshot">
<img class='img-responsive' src="chatgpt_chat.png">
</div> </div>
</div> </div>
</div>
</section>
<br/>
<br/>
<section class="oe_container oe_mt32">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Requirements</h2>
<div class="oe_span12">
<p class="oe_mt32 oe_mb32">
<strong>openai</strong> python library - <br/><code>sudo python3 -m pip install openai</code>
<br/>
- OR -
<br/>
<code>pip install openai</code>
Note: Contact us if you find any difficulties in setup/installation.
</p>
</div>
</div>
</section>
<br/>
<br/>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<h4 class="oe_slogan"> <a href="https://youtu.be/KwkWk4terrs" target="_blank" style="color: #FFFFFF !important; border-radius: 0; background-color: #f05c4e; border-color: #005ca7; padding: 15px; font-weight: bold;">
<i class="fa fa-youtube"></i>
Watch on YouTube
</a></h4>
<center>
</center>
</div>
</div>
</section>
<section class="oe_container">
<h2 class="oe_slogan" style="color:#875A7B;">Our other apps you may like!</h2>
<div id="slides" class="row carousel slide mt64 mb32" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active" style="min-height: 0px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_all_in_one" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block" style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;" src="wp_all_in_one.gif">
<h4 class="mt0" style="padding:6% 4%;text-align: center;white-space: nowrap;width: 100%;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp All In One
</h4>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_sale_integration" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block"
style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;"
src="whatsapp_sale_integration.png"/>
<h4 class="mt0" style="padding:6&#37; 4&#37;;text-align: center;white-space: nowrap;width: 100&#37;;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp Delivery Integration
</h4>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_invoice_integration" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block"
style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;"
src="whatsapp_invoice_integration.png"/>
<h4 class="mt0" style="padding:6&#37; 4&#37;;text-align: center;white-space: nowrap;width: 100&#37;;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp Invoice Integration
</h4>
</div>
</a>
</div>
</div>
<div class="carousel-item">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_pos_integration" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block"
style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;"
src="whatsapp_pos_integration.png"/>
<h4 class="mt0" style="padding:6&#37; 4&#37;;text-align: center;white-space: nowrap;width: 100&#37;;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp PoS Integration
</h4>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_purchase_integration" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block"
style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;"
src="whatsapp_purchase_integration.png"/>
<h4 class="mt0" style="padding:6&#37; 4&#37;;text-align: center;white-space: nowrap;width: 100&#37;;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp Purchase Integration
</h4>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;">
<a href="https://apps.odoo.com/apps/modules/16.0/whatsapp_payment_integration" target="_blank">
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;">
<img class="img img-responsive center-block"
style="border-top-left-radius: 10px; width: 360px; height: 180px; border-top-right-radius: 10px;"
src="whatsapp_payment_integration.png"/>
<h4 class="mt0" style="padding:6&#37; 4&#37;;text-align: center;white-space: nowrap;width: 100&#37;;overflow: hidden;text-overflow: ellipsis;font-family: Roboto-medium;">
WhatsApp Payments Integration
</h4>
</div>
</a>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#slides" data-slide="prev" style="left:-25px;width: 35px;color: #000;">
<span class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span>
</a>
<a class="carousel-control-next" href="#slides" data-slide="next" style="right:-25px;width: 35px;color: #000;">
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span>
</a>
</div>
</section> </section>
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_span12"> <h1 class="text-danger text-center">1. Multi ChatGpt openAI robot Connector. Chat and train.</h1>
<h2 class="oe_slogan" style="color:#875A7B;">Support</h2> <h4 class="oe_slogan"> Goto Setting--> GPT Robot to setup your robot api. </h4>
<p class="text-center"> <p> Input your api key, And Select the api model you need to use.</p>
<a href="https://intechualsolutions.com" target="_blank" style="font-weight:bold; font-size:30px; color:#777 !important"><img class="img img-responsive center-block" <div class="oe_demo oe_screenshot">
style="border-top-left-radius: 10px; width: 360px; height: 115px; border-top-right-radius: 10px;" src="logo.png"/></a> <img src="demo1.jpg"/>
</p> </div>
<p class="oe_slogan"> <p> You can set the Temperature higer for more creative answer.</p>
Please contact us if you need customization/support for this module <a href="mailto:info@intechualsolutions.com">info@intechualsolutions.com</a> <div class="oe_demo oe_screenshot">
</p> <img src="demo2.jpg"/>
<p class="text-center">
<a class="btn btn-success mt8" title="Website" style="background-color: #ff824c; color: #FFFFFF !important;" href="https://intechualsolutions.com" target="_blank"> https://intechualsolutions.com </a>
<a class="btn btn-success mt8" title="Website" style="background-color: #3b406d; color: #FFFFFF !important;" href="mailto:info@intechualsolutions.com"> Support </a><br/><br/>
<span>Note: We have changed our company name from <b>Ascents Entrepreneurs</b> to <b>InTechual Solutions</b></span>
</p>
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">2. Multi Api support, Chatgpt 3.5 Turbo, Chatgpt 3 Davinci, Chatgpt 2 Code Optimized, 'Dall-E Image.</h1>
<h4 class="oe_slogan"> Choose the model you want to use</h4>
<div class="oe_demo oe_screenshot">
<img src="demo2.jpg"/>
</div>
<p> You can set the Temperature higer for more creative answer.</p>
<div class="oe_demo oe_screenshot">
<img src="demo3.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">3. Bind ChatGpt Api to user. So we can chat to robot user or use ChatGpt Channel for Group Chat.</h1>
<h4 class="oe_slogan"> Go Settings ->users, bind chatgpt to some user.</h4>
<img src="demo4.jpg"/>
</div>
<h4 class="oe_slogan"> So you can have many user, and many chatgpt robot. This provide you an Ai pool.</h4>
<div class="oe_demo oe_screenshot">
<img src="demo5.jpg"/>
</div>
<h4 class="oe_slogan"> You can set the blacklist to this chatgpt robot to limit request. Also you can setup Demo time for every normal user..</h4>
<div class="oe_demo oe_screenshot">
<img src="demo6.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">4. White and black List for ChatGpt.</h1>
<h1 class="text-danger text-center">5. Setup Demo Chat time for every new user.</h1>
<h4 class="oe_slogan"> You can set the blacklist to this chatgpt robot to limit request. Also you can setup Demo time for every normal user..</h4>
<div class="oe_demo oe_screenshot">
<img src="demo6.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">6. Easy Start and Stop ChatGpt..</h1>
<h4 class="oe_slogan"> You can easy chat with the apt robot with odoo IM</h4>
<div class="oe_demo oe_screenshot">
<img src="demo7.jpg"/>
</div>
<h4 class="oe_slogan"> You can chat with several robot in the same time</h4>
<div class="oe_demo oe_screenshot">
<img src="demo8.jpg"/>
</div>
<h4 class="oe_slogan"> If you have more than 1 robot in the group. you can @ the specify robot.</h4>
<div class="oe_demo oe_screenshot">
<img src="demo9.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">7. Evaluation the ai robot to make better response. This training.</h1>
<h4 class="oe_slogan"> You can Evaluation chatgpt's answer. Mark as good for good answer. Mark as back for bad answer.</h4>
<p> With Evaluation, you can make your ai robot more smart.
<div class="oe_demo oe_screenshot">
<img src="demoa.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1 class="text-danger text-center">Multi-language Support..</h1>
<h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot">
<img src="cnreadme.jpg"/>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="oe_span12">
<h2 class="oe_slogan">Technical Help & Support</h2>
</div>
<div class="col-md-12 pad0">
<div class="oe_mt16">
<p><h4>
For any type of technical help & support requests, Feel free to contact us</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
<p><h4>
Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> 300883@qq.com</a>
</div>
<div class="oe_mt16">
<p><h4>
Visit our website for more support.</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="https://www.sunpop.cn" target="_blank"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-web"></i>https://www.sunpop.cn</a>
</div>
</div>
</div>
<div class="oe_row oe_spaced text-center">
<h1>More Powerful addons, Make your odoo very easy to use, easy customize:
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Supop.cn Odoo Addons</a>
</h1>
</div>
</section>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

View File

@@ -24,12 +24,20 @@
<group> <group>
<group> <group>
<field name="name"/> <field name="name"/>
<field name="provider"/>
<field name="ai_model"/>
<field name="openapi_api_key" password="True"/> <field name="openapi_api_key" password="True"/>
<field name="temperature"/> <field name="temperature"/>
<field name="sequence"/> <field name="sequence"/>
</group> </group>
<group>
<field name="ai_model"/>
<label class="o_form_label" for="provider">
OpenAI Document
</label>
<div>
<field name="provider"/>
<a href="https://platform.openai.com/docs/introduction" title="OpenAI Document" class="o_doc_link" target="_blank"></a>
</div>
</group>
</group> </group>
</sheet> </sheet>
</form> </form>