File tree Expand file tree Collapse file tree 3 files changed +27
-13
lines changed
Expand file tree Collapse file tree 3 files changed +27
-13
lines changed Original file line number Diff line number Diff line change 1- # config/packages/ai.yaml
21ai :
32 platform :
4- openai :
5- api_key : ' %env(OPENAI_API_KEY)%'
3+ # Inference Platform configuration
4+ # see https://github.com/symfony/ai/tree/main/src/platform#platform-bridges
5+
6+ # openai:
7+ # api_key: '%env(OPENAI_API_KEY)%'
68
79 agent :
8- default :
9- platform : ' ai.platform.openai'
10- model : ' gpt-5-mini'
11- prompt : |
12- You are a pirate and you write funny.
13- # tools:
14- # - 'Symfony\AI\Agent\Bridge\Clock\Clock'
10+ # Agent configuration
11+ # see https://symfony.com/doc/current/ai/bundles/ai-bundle.html
12+
13+ # default:
14+ # platform: 'ai.platform.openai'
15+ # model: 'gpt-5-mini'
16+ # prompt: |
17+ # You are a pirate and you write funny.
18+ # tools:
19+ # - 'Symfony\AI\Agent\Bridge\Clock\Clock'
20+
21+ store :
22+ # Store configuration
23+
24+ # chromadb:
25+ # default:
26+ # client: 'client.service.id'
27+ # collection: 'my_collection'
Original file line number Diff line number Diff line change 55 "copy-from-recipe" : {
66 "config/" : " %CONFIG_DIR%/"
77 },
8- "env" : {
9- "OPENAI_API_KEY" : " "
10- },
118 "aliases" : [" ai" ]
129}
Original file line number Diff line number Diff line change 1+ * Choose an inference platform and install the corresponding bridge
2+
3+ * For example <fg=green>OpenAI</> with the <fg=green>symfony/ai-openai-bridge</> package
4+ or <fg=green>Anthropic</> with the <fg=green>symfony/ai-anthropic-bridge</> package
You can’t perform that action at this time.
0 commit comments