Module version: auto
Publisher/Licence: IMASDEWEB / GPL-v3
User interface language: French / English / Spanish / German / Portuguese / Italian / Catalan
Help/Support: [email protected]
Prerequisites:
- Dolibarr min version: auto
- Dolibarr max version: auto
Install
- Go into menu Home - Setup - Modules - Deploy an external module, and submit the zip file
- Go into menu Home - Setup - Modules, and activate the module. If you're updating, deactivate and activate again.
- Normally, you should also visit the module configuration section and review any new options that appear. This module will be adding new AI models every X weeks, which by default will not be activated when updating the module, but you will need to do it manually.
Note: once installed, the CHANGELOG tab in the module settings loads the remote version of the ChangeLog.md file on my server, allowing users to easily view new features before deciding to install the update.
OpenAI, Perplexity and other APIs (IMPORTANT to read BEFORE use it)
This module requires you open a "developer account" on the provider you want to use their API services. Take in account that if you're already for example paying a monthly subscription like the $20USD of the chaGPT PLUS, you need anyway to open that "developer account" and PUT MONEY in it, because it usually are PRE-PAID accounts. If you don't do this, maybe they let you create an API key, but you will only receive "null" responses from their API when trying to use it.
Indeed, if you're paying the monthly $20USD of Perplexity PRO, then they give you until $5USD to consume their API models each month. They offer opensource Llama LLM family of Meta, useful for chat_completion and for search online within the chat. The level and price is probably about 90% of the 4o-mini from OpenAI.
Feature Description
- Use AI at minimal cost: With this module, each of your Dolibarr users can use AI services from different providers without having to pay a fixed monthly fee to the corresponding company, but "barely" paying for the consumption of those services through the respective APIs of those providers. This represents an immense saving.
- Different AI Provider APIs: currently the following
+ OpenAI.com: GPT-4o (text), GPT-4o-mini (text)
+ Perplexity.ai: Llama-3.1 family (text and online search)
+ Fal.ai: FLUX family (images), StableDifussion (images)
- Keep the history of AI queries under your control: The module builds a history of conversations and requests for each user with each of the AIs they interact with. So even if in a few years the current providers no longer exist or you no longer use them, you will keep all the conversations and generated images in your Dolibarr.
- Multi-AI interface: This module integrates API connection to AI services from different providers for different uses. Conversational chat, internet search, image generation, audio transcription (coming soon), etc. But what's more, the user can switch AI in the middle of a conversation, as many times as needed!
- Control for the company: From the module configuration section you can
+ configure the use of one, several or all providers allowed by the module, just by placing the API key of each provider
+ activate or deactivate the AI models of each provider that you want to allow your users to use
+ define a default provider & model to use
+ define a limit of interactions per user per hour, and per 24 hours
+ enable or disable the use of this module in the permissions tab of each user
- API response speed monitoring: from the module configuration section, you can check all calls made to AI providers' APIs to verify how many milliseconds they take to respond.
How much does AI consumption cost
- This module does not include or provide any AI service. You must be the one to open an account with the provider you are interested in (you will find the direct link in the module configuration section) and obtain a secret API key to place in the configuration of this module.
- The rates as of today (September 2024) are very affordable. For example, both chatGPT-40-mini and the smallest Llama 3.1 model (through Perplexity's API) costs about $0.15-$0.20 USD to process ONE MILLION TOKENS, which is equivalent to more than TWO THOUSAND PAGES of a book! Obviously, your consumption of these AIs will vary greatly depending on the volume of information you pass as INPUT and the volume of information you request to be generated as OUTPUT.
- Very important to keep in mind that: every time you add a new message in a conversation with the AI, THE ENTIRE CONVERSATION IS SENT AGAIN for it to use as context... so long conversations greatly increase AI consumption. My advice is that if you don't need to take advantage of what was said in a conversation, start a new one. You will easily save 100% of money.
Coming Soon
- Integrate the possibility of including images and/or documents in chats with AIs that accept them, such as the GPT-4 family
- Enable semantic search in the conversation history using embeddings (something that not even chatGPT offers today!)
- Enable the possibility to change the title of a conversation
- Enable the possibility of sharing conversations
- Enable the possibility to mark certain chats as "favorites"
- Integrate audio transcription by uploading MP3 files through OpenAI's Whisper
- Integrate some text-to-video generator
- Have the possibility to generate something similar to OpenAI's GPTs: pre-instructed assistants to do a very specific task very efficiently without having to spend time each time configuring them, but calling them when we need them.
- Be able to interact with information from other modules, initially only for consultation, summary and analysis.
Continuous updates, paying every 6 months
I've been developing and selling modules on Dolistore for 7 years, and I've always asked for just a one-time payment with lifetime updates. But with this module, it will require me to be CONTINUOUSLY integrating more and more AI-related novelties, as you know... as the AI industry brings us novelties practically EVERY WEEK. This is something different from all my other modules where barely the only maintenance I have to do over the years is to adjust some details when I check their compatibility with new major versions of Dolibarr.
For that reason, I have decided that to make the project sustainable I will require a payment every 6 months if you want to receive updates. That is, you can buy the module and never update it, there's no problem with that. You can even update it every two weeks with the new features I incorporate. But after more than 6 months from the last payment, you will have to make a new payment if you want to update the module.
DEMO & User Guide
Here: https://imasdeweb.com/index.php?pag=m_blog&gad=detalle_entrada&entry=106
List of my modules for sale
- AI Assistants
(All your users can use generative AI at minimal cost)
- Ticket Plus & HelpDesk
(Provides a user-friendly public portal for mobile phones)
- Yearly Invoices Statistics
(FREE - Customer and Supplier Invoices Annual Statistics Graphs)
- Search for help in forums
(FREE - Facilitates searching in Dolibarr community forums)
- TOTP 2FA Login
(Two-factor authentication for login)
- Solarized Theme
(Solarized Dark & Light Theme, based on Eldy official theme)
- Dark Theme
(Dark Theme, based on Eldy official theme)
- Stock transfers
(make easier to move stock between your warehouses)
- Purchases
(make easier to compare prices from suppliers and make purchase orders)