Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/components/agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ tools in the same chain - which even enables you to overwrite the pre-existing c
$reflectionFactory = new ReflectionToolFactory(); // Register tools with #[AsTool] attribute
$metadataFactory = (new MemoryToolFactory()) // Register or overwrite tools explicitly
->addTool(...);
$toolbox = new Toolbox(new AgentFactory($metadataFactory, $reflectionFactory), [...]);
$toolbox = new Toolbox(new ChainFactory($metadataFactory, $reflectionFactory), [...]);

.. note::

Expand Down Expand Up @@ -362,7 +362,7 @@ messages will be added to your MessageBag::
// Platform & LLM instantiation
$messages = new MessageBag(
Message::forSystem(<<<PROMPT
Please answer all user questions only using the similary_search tool. Do not add information and if you cannot
Please answer all user questions only using the similarity_search tool. Do not add information and if you cannot
find an answer, say so.
PROMPT),
Message::ofUser('...') // The user's question.
Expand Down Expand Up @@ -415,7 +415,7 @@ more accurate and context-aware results. Therefore, the component provides a bui

$messages = new MessageBag(
Message::forSystem(<<<PROMPT
Please answer all user questions only using the similary_search tool. Do not add information and if you cannot
Please answer all user questions only using the similarity_search tool. Do not add information and if you cannot
find an answer, say so.
PROMPT),
Message::ofUser('...') // The user's question.
Expand Down
3 changes: 2 additions & 1 deletion docs/components/platform/gemini-server-tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ The Code Execution tool provides a sandboxed environment for running code::
$result = $platform->invoke($model, $messages);


## Using Multiple Server Tools
Using Multiple Server Tools
---------------------------

You can enable multiple server tools simultaneously::

Expand Down
4 changes: 0 additions & 4 deletions docs/components/platform/vertexai-server-tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,8 @@ Grounding with Google Search

The Grounding tool allows the model to connect its responses to verifiable sources of information, enhancing the reliability
of its outputs. More at https://cloud.google.com/vertex-ai/generative-ai/docs/grounding/overview
Below is an example of grounding a model's responses using Google Search, which uses publicly-available web data.

* Grounding with Google Search *

Ground a model's responses using Google Search, which uses publicly-available web data.
More info can be found at https://cloud.google.com/vertex-ai/generative-ai/docs/grounding/overview

::

Expand Down
4 changes: 2 additions & 2 deletions docs/components/store.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ This leads to a store implementing two methods::
.. _`Similarity Search with MariaDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/mariadb-gemini.php
.. _`Similarity Search with Meilisearch (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/meilisearch.php
.. _`Similarity Search with memory storage (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/in-memory.php
.. _`Similarity Search with Milvus (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/meilisearch.php
.. _`Similarity Search with MongoDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/milvus.php
.. _`Similarity Search with Milvus (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/milvus.php
.. _`Similarity Search with MongoDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/mongodb.php
.. _`Similarity Search with Neo4j (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/neo4j.php
.. _`Similarity Search with Pinecone (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/pinecone.php
.. _`Similarity Search with Symfony Cache (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/cache.php
Expand Down
Loading