Skip to content

Commit a8b6404

Browse files
IppeyOskarStark
authored andcommitted
[Agent][SimilaritySearch] Fix class reference in documentation
1 parent 79e5ce8 commit a8b6404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/agent.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,11 +452,11 @@ Retrieval Augmented Generation (RAG)
452452
In combination with the `Store Component`_, the Agent component can be used to build agents that perform Retrieval
453453
Augmented Generation (RAG). This allows the agent to retrieve relevant documents from a store and use them to generate
454454
more accurate and context-aware results. Therefore, the component provides a built-in tool called
455-
:class:`Symfony\\AI\\Agent\\Toolbox\\Tool\\SimilaritySearch`::
455+
:class:`Symfony\\AI\\Agent\\Bridge\\SimilaritySearch\\SimilaritySearch`::
456456

457457
use Symfony\AI\Agent\Agent;
458+
use Symfony\AI\Agent\Bridge\SimilaritySearch\SimilaritySearch;
458459
use Symfony\AI\Agent\Toolbox\AgentProcessor;
459-
use Symfony\AI\Agent\Toolbox\Tool\SimilaritySearch;
460460
use Symfony\AI\Agent\Toolbox\Toolbox;
461461
use Symfony\AI\Platform\Message\Message;
462462
use Symfony\AI\Platform\Message\MessageBag;

0 commit comments

Comments
 (0)