Skip to content

Commit c96f8ce

Browse files
committed
-
1 parent bc62266 commit c96f8ce

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'
@@ -51,15 +49,6 @@ ai:
5149
model: 'gpt-4o-mini'
5250
prompt: 'You are a helpful general assistant. Assist users with any questions or tasks they may have.'
5351
tools: false
54-
elevenlabs_audio:
55-
model: 'gpt-4o-mini'
56-
prompt: 'You are a helpful assistant with access to speech-to-text capabilities via ElevenLabs.'
57-
tools:
58-
# Platform as tool 🚀
59-
- platform: 'elevenlabs'
60-
model: 'scribe_v1'
61-
name: 'transcribe_audio'
62-
description: 'Transcribes audio files to text using ElevenLabs.'
6352
multi_agent:
6453
support:
6554
orchestrator: 'orchestrator'
@@ -100,16 +89,7 @@ services:
10089

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

0 commit comments

Comments
 (0)