mirror of
https://github.com/code-rhapsodie/connector-ollama.git
synced 2026-03-23 20:32:06 +01:00
v1.x
Code Rhapsodie Connector Ollama Bundle
The code-rhapsodie/connector-ollama bundle integrates Ollama into Ibexa DXP, enabling AI-assisted content generation and editing capabilities directly from the Ibexa Back Office.
Note
This Ollama AI connector is experimental and may not be suitable for production use. Use at your own risk.
Installation
Step 1: Install the bundle via composer
composer require code-rhapsodie/connector-ollama
Step 2: Enable the bundle
// config/bundles.php
return [
// ...
CodeRhapsodie\Bundle\ConnectorOllama\CRConnectorOllama::class => ['all' => true],
];
Step 3: Configure your api key
#.env
OLLAMA_API_KEY=your-ollama-api-key-here
OLLAMA_API_URL=http://your-api-server-url-here
Step 4: Import generic IA Action migration
php bin/console ibexa:migrations:import vendor/code-rhapsodie/connector-ollama/src/bundle/Resources/migrations/ollama_action_configurations.yaml
Step 5: Execute Ibexa migration
php bin/console ibexa:migrations:migrate
Languages
PHP
100%