mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
Merge pull request #32 from slavakurilyak/feature/fix-docx-search-tool
Fix TypeError in DOCXSearchTool Schema
This commit is contained in:
@@ -8,7 +8,7 @@ from ..rag.rag_tool import RagTool
|
||||
|
||||
class FixedDOCXSearchToolSchema(BaseModel):
|
||||
"""Input for DOCXSearchTool."""
|
||||
docx: str = Optional[Field](..., description="Mandatory docx path you want to search")
|
||||
docx: Optional[str] = Field(..., description="Mandatory docx path you want to search")
|
||||
search_query: str = Field(
|
||||
...,
|
||||
description="Mandatory search query you want to use to search the DOCX's content",
|
||||
|
||||
Reference in New Issue
Block a user