Skip to content

Commit 581b6a9

Browse files
committed
-
1 parent a541f79 commit 581b6a9

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

demo/config/packages/ai.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ ai:
22
platform:
33
openai:
44
api_key: '%env(OPENAI_API_KEY)%'
5-
elevenlabs:
6-
api_key: '%env(ELEVEN_LABS_API_KEY)%'
75
agent:
86
blog:
97
model: 'gpt-4o-mini'
@@ -52,15 +50,6 @@ ai:
5250
model: 'gpt-4o-mini'
5351
prompt: 'You are a helpful general assistant. Assist users with any questions or tasks they may have.'
5452
tools: false
55-
elevenlabs_audio:
56-
model: 'gpt-4o-mini'
57-
prompt: 'You are a helpful assistant with access to speech-to-text capabilities via ElevenLabs.'
58-
tools:
59-
# Platform as tool 🚀
60-
- platform: 'elevenlabs'
61-
model: 'scribe_v1'
62-
name: 'transcribe_audio'
63-
description: 'Transcribes audio files to text using ElevenLabs.'
6453
multi_agent:
6554
support:
6655
orchestrator: 'orchestrator'
@@ -101,16 +90,7 @@ services:
10190

10291
Symfony\AI\Store\Document\Loader\RssFeedLoader: ~
10392
Symfony\AI\Store\Document\Transformer\TextTrimTransformer: ~
104-
105-
# Example: Using a Platform as a Tool
106-
# This demonstrates how to wrap any platform as a tool that can be used by agents
107-
app.tool.elevenlabs_transcription:
108-
class: 'Symfony\AI\Agent\Toolbox\Tool\Platform'
109-
arguments:
110-
$platform: '@ai.platform.elevenlabs'
111-
$model: 'scribe_v1'
112-
$options: []
113-
93+
11494
app.filter.week_of_symfony:
11595
class: 'Symfony\AI\Store\Document\Filter\TextContainsFilter'
11696
arguments:

0 commit comments

Comments
 (0)