diff --git a/symfony/ai-bundle/0.1/config/packages/ai.yaml b/symfony/ai-bundle/0.1/config/packages/ai.yaml index dc64b2dd..89f8e7ae 100644 --- a/symfony/ai-bundle/0.1/config/packages/ai.yaml +++ b/symfony/ai-bundle/0.1/config/packages/ai.yaml @@ -1,14 +1,27 @@ -# config/packages/ai.yaml ai: platform: - openai: - api_key: '%env(OPENAI_API_KEY)%' + # Inference Platform configuration + # see https://github.com/symfony/ai/tree/main/src/platform#platform-bridges + + # openai: + # api_key: '%env(OPENAI_API_KEY)%' agent: - default: - platform: 'ai.platform.openai' - model: 'gpt-5-mini' - prompt: | - You are a pirate and you write funny. -# tools: -# - 'Symfony\AI\Agent\Bridge\Clock\Clock' + # Agent configuration + # see https://symfony.com/doc/current/ai/bundles/ai-bundle.html + + # default: + # platform: 'ai.platform.openai' + # model: 'gpt-5-mini' + # prompt: | + # You are a pirate and you write funny. + # tools: + # - 'Symfony\AI\Agent\Bridge\Clock\Clock' + + store: + # Store configuration + + # chromadb: + # default: + # client: 'client.service.id' + # collection: 'my_collection' diff --git a/symfony/ai-bundle/0.1/manifest.json b/symfony/ai-bundle/0.1/manifest.json index d98c2069..7a6539e7 100644 --- a/symfony/ai-bundle/0.1/manifest.json +++ b/symfony/ai-bundle/0.1/manifest.json @@ -5,8 +5,5 @@ "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, - "env": { - "OPENAI_API_KEY": "" - }, "aliases": ["ai"] } diff --git a/symfony/ai-bundle/0.1/post-install.txt b/symfony/ai-bundle/0.1/post-install.txt new file mode 100644 index 00000000..4c034e33 --- /dev/null +++ b/symfony/ai-bundle/0.1/post-install.txt @@ -0,0 +1,4 @@ + * Choose an inference platform and install the corresponding bridge + + * For example OpenAI with the symfony/ai-openai-bridge package + or Anthropic with the symfony/ai-anthropic-bridge package