Skip to content

Commit 21385a8

Browse files
committed
minor #1182 [Agent][SimilaritySearch] Fix class reference in documentation (Ippey)
This PR was squashed before being merged into the main branch. Discussion ---------- [Agent][SimilaritySearch] Fix class reference in documentation | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | yes <!-- required for new features --> | Issues | | License | MIT Fixed `SimilaritySearch` class reference and link. <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Update/add documentation as required (we can help!) - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- a8b6404 [Agent][SimilaritySearch] Fix class reference in documentation
2 parents 79e5ce8 + a8b6404 commit 21385a8

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)