Skip to content

Commit 176cec3

Browse files
committed
minor #752 Fix documentation errors (OskarStark)
This PR was merged into the main branch. Discussion ---------- Fix documentation errors | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | Issues | -- | License | MIT Commits ------- 0232e0e Fix documentation errors in RST files
2 parents fb1cddb + 0232e0e commit 176cec3

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

docs/components/agent.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ tools in the same chain - which even enables you to overwrite the pre-existing c
236236
$reflectionFactory = new ReflectionToolFactory(); // Register tools with #[AsTool] attribute
237237
$metadataFactory = (new MemoryToolFactory()) // Register or overwrite tools explicitly
238238
->addTool(...);
239-
$toolbox = new Toolbox(new AgentFactory($metadataFactory, $reflectionFactory), [...]);
239+
$toolbox = new Toolbox(new ChainFactory($metadataFactory, $reflectionFactory), [...]);
240240

241241
.. note::
242242

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

416416
$messages = new MessageBag(
417417
Message::forSystem(<<<PROMPT
418-
Please answer all user questions only using the similary_search tool. Do not add information and if you cannot
418+
Please answer all user questions only using the similarity_search tool. Do not add information and if you cannot
419419
find an answer, say so.
420420
PROMPT),
421421
Message::ofUser('...') // The user's question.

docs/components/platform/gemini-server-tools.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ The Code Execution tool provides a sandboxed environment for running code::
7373
$result = $platform->invoke($model, $messages);
7474

7575

76-
## Using Multiple Server Tools
76+
Using Multiple Server Tools
77+
---------------------------
7778

7879
You can enable multiple server tools simultaneously::
7980

docs/components/platform/vertexai-server-tools.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ Grounding with Google Search
4242

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

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

5248
::
5349

docs/components/store.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ This leads to a store implementing two methods::
133133
.. _`Similarity Search with MariaDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/mariadb-gemini.php
134134
.. _`Similarity Search with Meilisearch (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/meilisearch.php
135135
.. _`Similarity Search with memory storage (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/in-memory.php
136-
.. _`Similarity Search with Milvus (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/meilisearch.php
137-
.. _`Similarity Search with MongoDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/milvus.php
136+
.. _`Similarity Search with Milvus (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/milvus.php
137+
.. _`Similarity Search with MongoDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/mongodb.php
138138
.. _`Similarity Search with Neo4j (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/neo4j.php
139139
.. _`Similarity Search with Pinecone (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/pinecone.php
140140
.. _`Similarity Search with Symfony Cache (RAG)`: https://github.com/symfony/ai/blob/main/examples/rag/cache.php

0 commit comments

Comments
 (0)