Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. LLM RAG Mistral v 18.0
  4. Sales Conditions FAQ

LLM RAG Mistral

by Apexive Solutions LLC https://github.com/apexive/odoo-llm
Odoo
v 18.0 Third Party 22
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
• LLM Knowledge
• Mistral AI LLM Integration
• LLM Integration Base
• LLM Vector Store Base
• OpenAI LLM Integration
• LLM Tool
• LLM Training Management
• Web JSON Editor
Lines of code 8342
Technical Name llm_knowledge_mistral
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
Versions 16.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
• LLM Knowledge
• Mistral AI LLM Integration
• LLM Integration Base
• LLM Vector Store Base
• OpenAI LLM Integration
• LLM Tool
• LLM Training Management
• Web JSON Editor
Lines of code 8342
Technical Name llm_knowledge_mistral
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
Versions 16.0 18.0
  • Description
  • Documentation
Mistral Vision OCR for Knowledge Base

Turn Images & Handwriting
Into Searchable Knowledge

Use Mistral AI's vision models to extract text from images, receipts, handwritten notes, and scanned documents. Make everything searchable in your knowledge base.

Vision AI
OCR Parsing
Auto-Extract

The Image Problem

Your knowledge base can search text documents, but what about images, scanned receipts, handwritten notes, and photos of documents? They're invisible to search.

Without OCR

  • Images are just binary blobs
  • Handwritten notes can't be searched
  • Scanned documents are dead weight
  • Receipts and invoices unusable
  • Knowledge stays locked in images

With Mistral OCR

  • AI extracts text from any image
  • Handwriting becomes searchable
  • Scanned docs fully indexed
  • Receipt data automatically parsed
  • Everything is findable

What Can It Parse?

Mistral's vision AI handles virtually any image with text

Handwritten Notes

Meeting notes, to-do lists, sticky notes, journal entries - any handwriting style

Scanned Documents

PDFs from scanners, faxes, photocopies, and document images with any layout

Receipts & Invoices

Extract data from receipts, invoices, bills, and financial documents

Screenshots

UI screenshots, error messages, dashboards, charts - extract all visible text

Product Labels

Packaging text, ingredient lists, warning labels, serial numbers

Forms & Tables

Structured data from forms, spreadsheets, tables, and grid layouts


How It Works

Automatic OCR processing powered by Mistral AI vision models

1

Upload Image

Add image to your knowledge collection (JPEG, PNG, PDF, etc.)

2

Select Mistral OCR

Choose Mistral OCR parser for the resource

3

AI Extracts Text

Mistral vision model reads and converts to markdown

4

Now Searchable

Text is chunked, embedded, and ready for AI search


See It In Action

Actual handwritten grocery list parsed by Mistral OCR

Original Image

Handwritten grocery list

Extracted Text

- potatoes
- peas & carrots
- pastina
- garbage bags
- dog treats
- aluminum foil
- almond milk
- creamer - vanilla
- eggs (2)
- crushed tomatoes
- hot sauce
- paper towels?

Result: The handwritten list is now fully searchable in your knowledge base. Ask your AI assistant "What items are on the grocery list?" and it will find this document and list all items.


How to Set It Up

Configure Mistral OCR for your knowledge base in minutes

1

Set Up Mistral OCR Models

The module comes pre-configured with Mistral's OCR models. View them under LLM → Configuration → Models, filtered by "ocr".

Mistral OCR Models

Available OCR Models:

  • mistral-ocr-latest: Latest OCR model (recommended)
  • mistral-ocr-2505: May 2025 version
  • mistral-ocr-2503: March 2025 version
Note: Set up the Mistral provider via llm_mistral module and click "Fetch Models" to download the available OCR models from Mistral AI.
2

Use Mistral OCR Parser

When creating or editing a knowledge resource, select "Mistral OCR Parser" and choose your preferred OCR model. Upload images and the parser will automatically extract text.

Mistral Parser Configuration

Parser Configuration:

  • Parser: Select "Mistral OCR Parser"
  • Provider: Mistral AI (auto-selected)
  • OCR Model: Choose mistral-ocr-latest or specific version
  • Supported formats: Images (PNG, JPG, WEBP), PDFs, scanned documents

Process & Start Searching!

Click "Process Resources" to extract text from your images. Once processed, all text becomes searchable through your AI assistant. Ask questions about the content and get instant answers with source citations.

Processing Pipeline

When you process an image resource:

  1. Mistral OCR Parser sends image to Mistral AI vision model
  2. Vision model analyzes image and extracts all text content
  3. Extracted text is saved to the resource's content field
  4. Text is chunked using your collection's chunker settings
  5. Chunks are embedded and stored in your vector database
  6. AI can now search and cite this content in responses

Real-World Use Cases

How teams use Mistral OCR to unlock knowledge from images

Expense Management

Upload receipt photos, extract vendor, amount, date, and items automatically for searchable expense records

"Find all Starbucks receipts from last month"

AI: Found 8 receipts totaling $127.50 (Sources: receipt_001.jpg through receipt_008.jpg)

Meeting Notes Archive

Scan handwritten meeting notes and make every decision, action item, and idea searchable

"What did we decide about the Q4 budget?"

AI: "Approved $50K increase for marketing" (Source: Meeting Notes Oct 15, 2024)

Legacy Document Digitization

Convert old scanned contracts, faxes, and archived paperwork into searchable digital knowledge

"Find the 2015 lease agreement terms"

AI: "5-year lease at $2500/month" (Source: Scanned Lease Agreement 2015)

Product Catalog

Extract product specs, ingredients, and details from packaging photos to build searchable catalogs

"Which products contain wheat?"

AI: Found 12 products with wheat in ingredients (Sources: Product labels from catalog)


Powerful Features

Everything you need for vision-based knowledge extraction

Multi-Language Support

Extract text in multiple languages including English, French, Spanish, and more

Markdown Output

Extracted text formatted as clean markdown for better chunking and retrieval

Table Extraction

Preserves table structure and relationships when extracting from forms and spreadsheets

Multi-Page Processing

Handles multi-page PDFs and image sets with proper page organization

Image Attachment Handling

Embedded images are saved as Odoo attachments with proper references

Seamless Integration

Works with existing llm_knowledge collections - just select the Mistral OCR parser


Quick Setup

Get started in 4 steps

1

Install Dependencies

Requires llm_knowledge and llm_mistral modules

2

Install This Module

Search for "LLM Knowledge Mistral" in Apps and click Install

3

Set Up Mistral Provider

Go to LLM → Configuration → Providers

  • Configure your Mistral AI provider with API key
  • Click "Fetch Models" to download available OCR models
4

Use Mistral OCR Parser

When adding images to collections, select "Mistral OCR Parser" and choose an OCR model

LLM Knowledge Mistral

Turn images and handwriting into searchable knowledge

Developed by Apexive Solutions LLC

Licensed under LGPL-3 • © 2025 All rights reserved.

github.com/apexive/odoo-llm
hello@apexive.com

LLM Knowledge Mistral

Turn images into searchable knowledge with Mistral AI's vision models.

Extract text from handwritten notes, receipts, scanned documents, screenshots, and product labels. Make every image searchable in your knowledge base with automatic OCR processing.

Overview

This module extends llm_knowledge with Mistral AI's vision capabilities, enabling OCR (Optical Character Recognition) for images and scanned documents. Upload an image, and Mistral's vision models extract all text content, making it fully searchable through your AI assistant.

The Problem

Without OCR:

  • Images are just binary blobs in your knowledge base
  • Handwritten notes can't be searched
  • Scanned documents are dead weight
  • Receipts and invoices are unusable
  • Knowledge stays locked in images

The Solution

With Mistral OCR:

  • AI extracts text from any image
  • Handwriting becomes searchable
  • Scanned docs fully indexed
  • Receipt data automatically parsed
  • Everything is findable

Features

Mistral Vision OCR

  • State-of-the-art accuracy: Powered by Mistral's multimodal vision models
  • Handwriting recognition: Extracts text from handwritten notes and forms
  • Multi-format support: Images (PNG, JPG, WEBP), PDFs, scanned documents
  • Automatic extraction: No manual data entry required

OCR Models

Three Mistral OCR models available:

  • mistral-ocr-latest: Latest OCR model (recommended)
  • mistral-ocr-2505: May 2025 version
  • mistral-ocr-2503: March 2025 version

Mistral OCR Parser

  • Seamless integration with llm_knowledge processing pipeline
  • Automatic text extraction from image attachments
  • Preserves original images while extracting text content
  • Works with existing chunking and embedding systems

Installation

  1. Install dependencies:

    • llm_knowledge module (required)
    • llm_mistral module (required)
  2. Install this module:

    # Via Odoo Apps interface
    Apps → Search "LLM Knowledge Mistral" → Install
    
  3. Set up Mistral provider:

    • Go to LLM → Configuration → Providers
    • Configure your Mistral AI provider with API key
    • Click "Fetch Models" to download available OCR models from Mistral
    • This populates the OCR models list automatically

Configuration

Step 1: View OCR Models

The module comes pre-configured with Mistral's OCR models. View them under LLM → Configuration → Models, filtered by "ocr".

Mistral OCR Models

Available models:

  • mistral-ocr-latest - Latest OCR model (recommended)
  • mistral-ocr-2505 - May 2025 version
  • mistral-ocr-2503 - March 2025 version

Step 2: Configure Parser

When creating or editing a knowledge resource:

  1. Select "Mistral OCR Parser" from the Parser dropdown
  2. Choose your preferred OCR model (mistral-ocr-latest recommended)
  3. Upload images as attachments
  4. Click "Process Resources"
Mistral Parser Configuration

Parser settings:

  • Parser: Mistral OCR Parser
  • Provider: Mistral AI (auto-selected)
  • OCR Model: mistral-ocr-latest or specific version
  • Supported formats: PNG, JPG, WEBP, PDF

Step 3: Process and Search

Click "Process Resources" to extract text from your images. The extracted text becomes searchable through your AI assistant.

Usage Examples

Handwritten Grocery List

Input: Photo of handwritten grocery list

Handwritten Grocery List

Output: Extracted text

- potatoes
- peas & carrots
- pastina
- garbage bags
- dog treats
- aluminum foil
- almond milk
- creamer - vanilla
- eggs (2)
- crushed tomatoes
- hot sauce
- paper towels?

Result: Fully searchable in knowledge base. Ask "What items are on the grocery list?" and AI finds and lists all items.

Expense Management

Goal: Track business expenses from receipt photos

Setup:

  • Upload receipt photos to knowledge collection
  • Use Mistral OCR Parser
  • Process resources

Result: Extract vendor, amount, date, and items from receipts. Search "Find all Starbucks receipts from last month" → AI finds all matching receipts and totals.

Meeting Notes Archive

Goal: Make handwritten meeting notes searchable

Setup:

  • Scan or photograph handwritten meeting notes
  • Upload to knowledge base
  • Process with Mistral OCR

Result: Every decision, action item, and idea becomes searchable. Ask "What did we decide about the Q4 budget?" → AI cites exact meeting notes.

Product Label Extraction

Goal: Index product information from label photos

Setup:

  • Photograph product labels
  • Add to product knowledge collection
  • Process with Mistral OCR

Result: Extract ingredients, nutritional info, warnings, and instructions. AI can answer product questions using label data.

How It Works

Processing Pipeline

When you process an image resource with Mistral OCR:

  1. Upload: Attach image to llm.resource
  2. Parse: Mistral OCR Parser sends image to Mistral AI vision model
  3. Extract: Vision model analyzes image and extracts all text
  4. Save: Extracted text saved to resource's content field
  5. Chunk: Text chunked using collection's chunker settings
  6. Embed: Chunks embedded and stored in vector database
  7. Search: AI can now search and cite this content in responses

Supported Image Types

  • Handwritten text: Notes, forms, letters
  • Printed text: Documents, books, manuals
  • Receipts: Business expenses, invoices
  • Screenshots: Error messages, UI text
  • Product labels: Ingredients, instructions
  • Whiteboards: Brainstorming sessions, diagrams
  • Forms: Filled-out applications, surveys
  • Scanned documents: PDFs, legacy files

Technical Details

Mistral OCR Models

The available OCR models are fetched from Mistral AI when you configure the provider:

Model Description Recommended
mistral-ocr-latest Latest OCR model ✓ Yes
mistral-ocr-2505 May 2025 version -
mistral-ocr-2503 March 2025 version -

Note: You must set up the Mistral provider via llm_mistral module and click "Fetch Models" to download the available OCR models from Mistral AI.

Parser Registration

The Mistral OCR Parser is registered in models/mistral_resource_parser.py on the llm.resource model:

@api.model
def _get_available_parsers(self):
    parsers = super()._get_available_parsers()
    parsers.extend([
        ("mistral_ocr", "Mistral OCR Parser"),
    ])
    return parsers

The parser method parse_mistral_ocr() processes images:

def parse_mistral_ocr(self, record, field):
    mimetype = field["mimetype"]
    if not self.llm_model_id or not self.llm_provider_id:
        raise ValueError("Please select a model and provider.")
    value = field["rawcontent"]
    ocr_response = self.llm_provider_id.process_ocr(
        self.llm_model_id.name, value, mimetype
    )
    final_content = self._format_mistral_ocr_text(ocr_response, record.id)
    self.content = final_content
    return True

Fields Added to llm.resource

This module extends llm.resource with:

  • llm_model_id: Many2one to OCR model (domain: model_use = 'ocr')
  • llm_provider_id: Many2one to Mistral provider (domain: service = 'mistral')

Troubleshooting

OCR not extracting text

  1. Verify image quality is sufficient (not too blurry)
  2. Check Mistral API credentials are configured
  3. Review system logs for API errors
  4. Try different OCR model version

Handwriting not recognized

  1. Ensure handwriting is legible
  2. Use high-resolution images
  3. Try mistral-ocr-latest (best for handwriting)
  4. Avoid low-light or skewed photos

Wrong text extracted

  1. Check image orientation (rotate if needed)
  2. Verify image is not corrupted
  3. Ensure sufficient contrast between text and background
  4. Try cropping to focus on text area

Best Practices

  1. Image quality: Use high-resolution images (at least 1024px width)
  2. Lighting: Ensure good lighting and contrast
  3. Orientation: Rotate images to correct orientation before upload
  4. File format: Use PNG or JPG for best results
  5. File size: Keep images under 10MB for faster processing
  6. Batch processing: Process multiple images at once for efficiency

Requirements

  • Odoo: 18.0+
  • Python: 3.11+
  • Dependencies:
    • llm_knowledge module
    • llm_mistral module
  • API: Mistral AI API key required

License

LGPL-3

Author

Apexive Solutions LLC

  • Website: https://github.com/apexive/odoo-llm
  • Email: info@apexive.com

Contributing

Issues and pull requests welcome at https://github.com/apexive/odoo-llm

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with