@@ -34,7 +34,7 @@ Configuration
3434 class : ' Symfony\AI\Platform\Bridge\OpenAi\Gpt'
3535 name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Gpt::GPT_4O_MINI
3636
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 **
3838
3939.. code-block :: yaml
4040
@@ -56,6 +56,8 @@ Configuration
5656 output_path : ' %env(ELEVEN_LABS_OUTPUT_PATH)%'
5757 gemini :
5858 api_key : ' %env(GEMINI_API_KEY)%'
59+ perplexity :
60+ api_key : ' %env(PERPLEXITY_API_KEY)%'
5961 vertexai :
6062 location : ' %env(GOOGLE_CLOUD_LOCATION)%'
6163 project_id : ' %env(GOOGLE_CLOUD_PROJECT)%'
@@ -93,6 +95,12 @@ Configuration
9395 tools : # If undefined, all tools are injected into the agent, use "tools: false" to disable tools.
9496 - ' Symfony\AI\Agent\Toolbox\Tool\Wikipedia'
9597 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
96104 audio :
97105 platform : ' ai.platform.eleven_labs'
98106 model :
@@ -131,7 +139,7 @@ Configuration
131139 default :
132140 vectorizer : ' ai.vectorizer.openai_embeddings'
133141 store : ' ai.store.chroma_db.default'
134-
142+
135143 research :
136144 vectorizer : ' ai.vectorizer.mistral_embeddings'
137145 store : ' ai.store.memory.research'
@@ -355,13 +363,13 @@ Vectorizers are defined in the ``vectorizer`` section of your configuration:
355363 name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Embeddings::TEXT_EMBEDDING_3_SMALL
356364 options :
357365 dimensions : 512
358-
366+
359367 openai_large :
360368 platform : ' ai.platform.openai'
361369 model :
362370 class : ' Symfony\AI\Platform\Bridge\OpenAi\Embeddings'
363371 name : !php/const Symfony\AI\Platform\Bridge\OpenAi\Embeddings::TEXT_EMBEDDING_3_LARGE
364-
372+
365373 mistral_embed :
366374 platform : ' ai.platform.mistral'
367375 model :
@@ -379,19 +387,19 @@ Once configured, vectorizers can be referenced by name in indexer configurations
379387 documents :
380388 vectorizer : ' ai.vectorizer.openai_small'
381389 store : ' ai.store.chroma_db.documents'
382-
390+
383391 research :
384392 vectorizer : ' ai.vectorizer.openai_large'
385393 store : ' ai.store.chroma_db.research'
386-
394+
387395 knowledge_base :
388396 vectorizer : ' ai.vectorizer.mistral_embed'
389397 store : ' ai.store.memory.kb'
390398
391399 **Benefits of Configured Vectorizers **
392400
393401* **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
395403* **Maintainability **: Change vectorizer settings in one place
396404
397405Profiler
0 commit comments