Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
docs: fix RagTool and XMLSearchTool README imports (#8033)
Nagizaaz Shaik74fe931a3900
diff --git a/lib/crewai-tools/src/crewai_tools/tools/rag/README.md b/lib/crewai-tools/src/crewai_tools/tools/rag/README.mdindex b432a1a69..30191bec4 100644--- a/lib/crewai-tools/src/crewai_tools/tools/rag/README.md+++ b/lib/crewai-tools/src/crewai_tools/tools/rag/README.md@@ -38,7 +38,7 @@ RagTool can be instantiated with data from different sources, including:#### **Creating an Instance**```python-from crewai_tools.tools.rag_tool import RagTool+from crewai_tools import RagTool# Example: Loading from a filerag_tool = RagTool().from_file('path/to/your/file.txt')diff --git a/lib/crewai-tools/src/crewai_tools/tools/xml_search_tool/README.md b/lib/crewai-tools/src/crewai_tools/tools/xml_search_tool/README.mdindex a019d9e15..1c3b83793 100644--- a/lib/crewai-tools/src/crewai_tools/tools/xml_search_tool/README.md+++ b/lib/crewai-tools/src/crewai_tools/tools/xml_search_tool/README.md@@ -14,7 +14,7 @@ pip install 'crewai[tools]'Here are two examples demonstrating how to use the XMLSearchTool. The first example shows searching within a specific XML file, while the second example illustrates initiating a search without predefining an XML path, providing flexibility in search scope.```python-from crewai_tools.tools.xml_search_tool import XMLSearchTool+from crewai_tools import XMLSearchTool# Allow agents to search within any XML file's content as it learns about their paths during executiontool = XMLSearchTool()