Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 589 Bytes

00-installation-configuration.md

File metadata and controls

31 lines (22 loc) · 589 Bytes

Installation & Bundle Configuration

Install with Composer

composer require instride/pimcore-ai-tools:^1.0

Loading the Bundle

Register the bundle in your config/bundles.php file to enable it.

<?php

return [
    // ...
    Instride\Bundle\PimcoreAiToolsBundle\PimcoreAiToolsBundle::class => ['all' => true],
];

Configure Providers

Change the OpenAI API key via yaml configuration or use the default environment variable "OPEN_AI_API_KEY".

pimcore_ai_tools:
    providers:
        open_ai:
            api_key: '%env(OPEN_AI_API_KEY)%'