diff --git a/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py b/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py index 3ef467264..29f172cdf 100644 --- a/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py +++ b/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py @@ -1,6 +1,6 @@ import json import os -from typing import Any, Optional, Type +from typing import Any, Callable, Optional, Type try: @@ -70,7 +70,7 @@ class QdrantVectorSearchTool(BaseTool): default=None, description="The API key for the Qdrant server", ) - custom_embedding_fn: Optional[callable] = Field( + custom_embedding_fn: Optional[Callable] = Field( default=None, description="A custom embedding function to use for vectorization. If not provided, the default model will be used.", )