[app_ai_bard] v17 to be validate

This commit is contained in:
Chill
2024-11-06 17:13:03 +08:00
parent 744e6f8247
commit 245f177dd2
43 changed files with 665 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import main

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from odoo import http
class ChatgptController(http.Controller):
@http.route(['/chatgpt_form'], type='http', auth="public", csrf=False,
website=True)
def question_submit(self):
return http.request.render('app_chatgpt.connector')