File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 2
2
platform :
3
3
openai :
4
4
api_key : ' %env(OPENAI_API_KEY)%'
5
- elevenlabs :
6
- api_key : ' %env(ELEVEN_LABS_API_KEY)%'
7
5
agent :
8
6
blog :
9
7
model : ' gpt-4o-mini'
51
49
model : ' gpt-4o-mini'
52
50
prompt : ' You are a helpful general assistant. Assist users with any questions or tasks they may have.'
53
51
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.'
63
52
multi_agent :
64
53
support :
65
54
orchestrator : ' orchestrator'
@@ -100,16 +89,7 @@ services:
100
89
101
90
Symfony\AI\Store\Document\Loader\RssFeedLoader : ~
102
91
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
+
113
93
app.filter.week_of_symfony :
114
94
class : ' Symfony\AI\Store\Document\Filter\TextContainsFilter'
115
95
arguments :
You can’t perform that action at this time.
0 commit comments