Magento 2 AI Review TranslatorMagento 2 AI Review Translator
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Key Features
    • How It Works
  • Installation

    • Requirements
    • Install the Module
    • Install the AI Packages
    • Enable & Compile
    • Verify the Installation
    • Content Security Policy
    • Translating the Interface
  • Setup

    • Enable the Module
    • Activate Your Licence
    • Select an LLM Provider
    • Validate & Load Models
    • First Translation
  • Configuration

    • Overview
    • General Settings
    • Limits & Timeouts
    • Store Views & Languages
    • Admin Menu
    • Access Control
  • LLM Providers

    • Provider Overview
    • How Validation Works
    • Choosing a Model
    • Switching Providers
  • Ollama (Self-Hosted)

    • Install Ollama
    • Connect to Magento
    • Timeouts & Batch Size
    • Troubleshooting
  • Translating Reviews

    • Translation Basics
    • What Is Sent to the Model
    • Fallback Behaviour
    • Automatic Translation
    • The Queue Consumer
    • Running the Consumer
    • Bulk CLI Command
    • Batch Size
    • CLI Output & Exit Codes
  • Storefront

    • On the Storefront
    • The Toggle
    • Styling
  • Developers

    • GraphQL API
    • Querying from Code
    • Data Model
    • Useful SQL
  • Help

    • Setup Problems
    • Translation Problems
    • Queue Problems
    • Storefront Problems
    • FAQ

Connect Ollama to Magento

Selecting Ollama swaps the API-key-shaped fields for endpoint-shaped ones:

Ollama selected as the LLM Provider

1. Check reachability first

From the Magento server — not your laptop:

curl http://192.168.10.173:11434/api/tags

A JSON list of models means you are ready. Anything else is a network or firewall problem, and the admin will only tell you it "cannot connect".

2. Fill the fields

FieldValue
LLM ProviderOllama
Is AuthorizedNo for a plain server; Yes if it sits behind a bearer-token proxy
LLM API KeyOnly when Is Authorized is Yes — sent as Authorization: Bearer …
Ollama EndpointBase URL, no trailing path — http://localhost:11434

Base URL only

Enter http://host:11434, not http://host:11434/api and not a trailing slash. The module appends /api/tags itself; a doubled path returns a non-2xx status and validation fails.

3. Validate

Click Validate Key and Load Models. The module calls /api/tags and lists what is installed:

Models pulled from the Ollama endpoint

Unlike the hosted providers, there is no ping call and no capability filtering — you get exactly what ollama list shows.

4. Pick a model and save

Choose from the dropdown, set the timeout, Save Config, then:

php bin/magento cache:flush

Next: Timeouts & Batch Size.

Prev
Install Ollama
Next
Timeouts & Batch Size