apexive / apexive/odoo-llm

Feature Request: Offline OCR Support via Local Models

Open
#245 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
219
Forks
159
PR merge metrics
No merged PRs in 30d

Description

## Feature Request: Offline OCR Support via Local Models

### Current Situation

Currently, OCR functionality in `llm_tool_ocr_mistral` relies exclusively on the **Mistral AI cloud API**, which requires an active internet connection and a paid API key. This makes OCR unavailable in air-gapped environments or for users who prefer a fully self-hosted, cost-free, private setup.

### Requested Feature

Add support for **offline OCR** using locally hosted vision-capable models via **Ollama** or similar self-hosted backends — without any dependency on external paid APIs.

### Suggested Local Models (Ollama-compatible)

All of the following support vision/OCR tasks and run fully offline:
- `llava:7b`
- `llava:13b`
- `minicpm-v:8b`
- `qwen2.5vl:7b`
- `gemma3:12b`

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.