This repository was archived by the owner on Nov 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1- from typing import Any , Optional , Type
1+ from typing import Optional , Type
22
33from embedchain .models .data_type import DataType
44from pydantic import BaseModel , Field
@@ -18,7 +18,7 @@ class FixedCSVSearchToolSchema(BaseModel):
1818class CSVSearchToolSchema (FixedCSVSearchToolSchema ):
1919 """Input for CSVSearchTool."""
2020
21- csv : str = Field (..., description = "Mandatory csv path you want to search " )
21+ csv : str = Field (..., description = "File path or URL of a CSV file to be searched " )
2222
2323
2424class CSVSearchTool (RagTool ):
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class FixedDOCXSearchToolSchema(BaseModel):
1010 """Input for DOCXSearchTool."""
1111
1212 docx : Optional [str ] = Field (
13- ..., description = "Mandatory docx path you want to search "
13+ ..., description = "File path or URL of a DOCX file to be searched "
1414 )
1515 search_query : str = Field (
1616 ...,
Original file line number Diff line number Diff line change 1- from typing import Any , Optional , Type
1+ from typing import Optional , Type
22
3- from embedchain .models .data_type import DataType
43from pydantic import BaseModel , Field
54
65from ..rag .rag_tool import RagTool
@@ -18,7 +17,9 @@ class FixedJSONSearchToolSchema(BaseModel):
1817class JSONSearchToolSchema (FixedJSONSearchToolSchema ):
1918 """Input for JSONSearchTool."""
2019
21- json_path : str = Field (..., description = "Mandatory json path you want to search" )
20+ json_path : str = Field (
21+ ..., description = "File path or URL of a JSON file to be searched"
22+ )
2223
2324
2425class JSONSearchTool (RagTool ):
Original file line number Diff line number Diff line change 1- from typing import Any , Optional , Type
1+ from typing import Optional , Type
22
33from embedchain .models .data_type import DataType
44from pydantic import BaseModel , Field
@@ -18,7 +18,7 @@ class FixedMDXSearchToolSchema(BaseModel):
1818class MDXSearchToolSchema (FixedMDXSearchToolSchema ):
1919 """Input for MDXSearchTool."""
2020
21- mdx : str = Field (..., description = "Mandatory mdx path you want to search " )
21+ mdx : str = Field (..., description = "File path or URL of a MDX file to be searched " )
2222
2323
2424class MDXSearchTool (RagTool ):
Original file line number Diff line number Diff line change 1- from typing import Any , Optional , Type
1+ from typing import Optional , Type
22
33from embedchain .models .data_type import DataType
4- from pydantic import BaseModel , Field , model_validator
4+ from pydantic import BaseModel , Field
55
66from ..rag .rag_tool import RagTool
77
@@ -17,7 +17,7 @@ class FixedPDFSearchToolSchema(BaseModel):
1717class PDFSearchToolSchema (FixedPDFSearchToolSchema ):
1818 """Input for PDFSearchTool."""
1919
20- pdf : str = Field (..., description = "Mandatory pdf path you want to search " )
20+ pdf : str = Field (..., description = "File path or URL of a PDF file to be searched " )
2121
2222
2323class PDFSearchTool (RagTool ):
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class FixedTXTSearchToolSchema(BaseModel):
1717class TXTSearchToolSchema (FixedTXTSearchToolSchema ):
1818 """Input for TXTSearchTool."""
1919
20- txt : str = Field (..., description = "Mandatory txt path you want to search " )
20+ txt : str = Field (..., description = "File path or URL of a TXT file to be searched " )
2121
2222
2323class TXTSearchTool (RagTool ):
Original file line number Diff line number Diff line change 1- from typing import Any , Optional , Type
1+ from typing import Optional , Type
22
3- from embedchain .models .data_type import DataType
43from pydantic import BaseModel , Field
54
65from ..rag .rag_tool import RagTool
@@ -18,7 +17,7 @@ class FixedXMLSearchToolSchema(BaseModel):
1817class XMLSearchToolSchema (FixedXMLSearchToolSchema ):
1918 """Input for XMLSearchTool."""
2019
21- xml : str = Field (..., description = "Mandatory xml path you want to search " )
20+ xml : str = Field (..., description = "File path or URL of a XML file to be searched " )
2221
2322
2423class XMLSearchTool (RagTool ):
You can’t perform that action at this time.
0 commit comments