Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FieldCondition = Any
MatchValue = Any

from crewai.tools import BaseTool
from crewai.tools import BaseTool, EnvVar
from pydantic import BaseModel, Field


Expand Down Expand Up @@ -75,6 +75,9 @@ class QdrantVectorSearchTool(BaseTool):
description="A custom embedding function to use for vectorization. If not provided, the default model will be used.",
)
package_dependencies: List[str] = ["qdrant-client"]
env_vars: List[EnvVar] = [
EnvVar(name="OPENAI_API_KEY", description="API key for OpenAI", required=True)
]

def __init__(self, **kwargs):
super().__init__(**kwargs)
Expand Down
Loading