@@ -34,7 +34,7 @@ Configuration
34
34
class : ' Symfony\AI\Platform\Bridge\OpenAi\Gpt'
35
35
name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI
36
36
37
- **Advanced Example with Anthropic, Azure, ElevenLabs, Gemini, Vertex AI, Ollama multiple agents **
37
+ **Advanced Example with Anthropic, Azure, ElevenLabs, Gemini, Perplexity, Vertex AI, Ollama multiple agents **
38
38
39
39
.. code-block :: yaml
40
40
@@ -56,6 +56,8 @@ Configuration
56
56
output_path : ' %env(ELEVEN_LABS_OUTPUT_PATH)%'
57
57
gemini :
58
58
api_key : ' %env(GEMINI_API_KEY)%'
59
+ perplexity :
60
+ api_key : ' %env(PERPLEXITY_API_KEY)%'
59
61
vertexai :
60
62
location : ' %env(GOOGLE_CLOUD_LOCATION)%'
61
63
project_id : ' %env(GOOGLE_CLOUD_PROJECT)%'
@@ -93,6 +95,12 @@ Configuration
93
95
tools : # If undefined, all tools are injected into the agent, use "tools: false" to disable tools.
94
96
- ' Symfony\AI\Agent\Toolbox\Tool\Wikipedia'
95
97
fault_tolerant_toolbox : false # Disables fault tolerant toolbox, default is true
98
+ search_agent :
99
+ platform : ' ai.platform.perplexity'
100
+ model :
101
+ class : ' Symfony\AI\Platform\Bridge\Perplexity\Perplexity'
102
+ name : !php/const Symfony\AI\Platform\Bridge\Perplexity\Perplexity::SONAR
103
+ tools : false
96
104
audio :
97
105
platform : ' ai.platform.eleven_labs'
98
106
model :
@@ -131,7 +139,7 @@ Configuration
131
139
default :
132
140
vectorizer : ' ai.vectorizer.openai_embeddings'
133
141
store : ' ai.store.chroma_db.default'
134
-
142
+
135
143
research :
136
144
vectorizer : ' ai.vectorizer.mistral_embeddings'
137
145
store : ' ai.store.memory.research'
@@ -355,13 +363,13 @@ Vectorizers are defined in the ``vectorizer`` section of your configuration:
355
363
name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Embeddings::TEXT_EMBEDDING_3_SMALL
356
364
options :
357
365
dimensions : 512
358
-
366
+
359
367
openai_large :
360
368
platform : ' ai.platform.openai'
361
369
model :
362
370
class : ' Symfony\AI\Platform\Bridge\OpenAi\Embeddings'
363
371
name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Embeddings::TEXT_EMBEDDING_3_LARGE
364
-
372
+
365
373
mistral_embed :
366
374
platform : ' ai.platform.mistral'
367
375
model :
@@ -379,19 +387,19 @@ Once configured, vectorizers can be referenced by name in indexer configurations
379
387
documents :
380
388
vectorizer : ' ai.vectorizer.openai_small'
381
389
store : ' ai.store.chroma_db.documents'
382
-
390
+
383
391
research :
384
392
vectorizer : ' ai.vectorizer.openai_large'
385
393
store : ' ai.store.chroma_db.research'
386
-
394
+
387
395
knowledge_base :
388
396
vectorizer : ' ai.vectorizer.mistral_embed'
389
397
store : ' ai.store.memory.kb'
390
398
391
399
**Benefits of Configured Vectorizers **
392
400
393
401
* **Reusability **: Define once, use in multiple indexers
394
- * **Consistency **: Ensure all indexers using the same vectorizer have identical embedding configuration
402
+ * **Consistency **: Ensure all indexers using the same vectorizer have identical embedding configuration
395
403
* **Maintainability **: Change vectorizer settings in one place
396
404
397
405
Profiler
0 commit comments