AI Assistants

c9175d20240912101120

New

All your users can use AI from various providers at minimal cost (chatGPT, Perplexity-Llama, FLUX), paying only for API consumption. You can configure providers, AI models, usage limits, and permissions per user. Maintain a complete history of all AI interactions within Dolibarr. IMASDEWEB.

More details


24,00 €

More info

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

  1. Go into menu Home - Setup - Modules - Deploy an external module, and submit the zip file
     
  2. Go into menu Home - Setup - Modules, and activate the module. If you're updating, deactivate and activate again.
     
  3. 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

  1. AI Assistants
    (All your users can use generative AI at minimal cost)
     
  2. Ticket Plus & HelpDesk
    (Provides a user-friendly public portal for mobile phones)
     
  3. Yearly Invoices Statistics
    (FREE - Customer and Supplier Invoices Annual Statistics Graphs)
     
  4. Search for help in forums
    (FREE - Facilitates searching in Dolibarr community forums)
     
  5. TOTP 2FA Login
    (Two-factor authentication for login)
     
  6. Solarized Theme
    (Solarized Dark & Light Theme, based on Eldy official theme)
     
  7. Dark Theme
    (Dark Theme, based on Eldy official theme)
     
  8. Stock transfers
    (make easier to move stock between your warehouses)
     
  9. Purchases
    (make easier to compare prices from suppliers and make purchase orders)