Skip to content

An open source addon for odoo which allow us to query for any information stored in our database (odoo) with natural language. Without sql.

License

Notifications You must be signed in to change notification settings

joseandrestrujillo/ai-assistant-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Odoo AI to SQL Assistant Addon

Python ChatGPT Postgres

This open-source project is an addon for the ERP/CRM Odoo. The addon uses OpenAI to assist in generating SQL queries based on natural language inputs.

Project Overview

The addon works by allowing you to input a question in natural language about your data stored in the Odoo database. ChatGPT, an advanced language model developed by OpenAI, generates a SQL query based on your question and runs the query against your database. The results are then returned to you.

This process is facilitated by a create.sql script, which contains the structure of the basic tables in Odoo. This file is also provided to ChatGPT, enabling the language model to understand the structure of your database and generate accurate queries.

However, please note that this addon may not be able to generate queries for tables not covered in the create.sql file.

Screenshots

Realización de una query Resultado de una query

Getting Started

This section will guide you on how to install and use this addon in your Odoo instance.

Prerequisites

You will need an instance of Odoo running on your system. If you don't have one, please follow the official Odoo documentation to install it.

Installation

Copy the addon/ai_assistant folder into your Odoo's custom addons folder and then there will be in the applications section of your Odoo platform.

Contributing

Contributions to this project are welcomed. If you have a feature request or find a bug, please open an issue. If you wish to contribute code, please open a pull request.

License

Licence

About

An open source addon for odoo which allow us to query for any information stored in our database (odoo) with natural language. Without sql.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages