Skip to content

Commit 10ae916

Browse files
committed
add directory search tool
1 parent 892a8da commit 10ae916

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
from crewai_tools import DirectorySearchTool
2+
3+
# dir_search_tool = DirectorySearchTool(
4+
# config=dict(
5+
# llm=dict(
6+
# provider="ollama",
7+
# config=dict(
8+
# model="llama2",
9+
# # temperature=0.5,
10+
# # top_p=1,
11+
# # stream=true,
12+
# ),
13+
# ),
14+
# embedder=dict(
15+
# provider="google",
16+
# config=dict(
17+
# model="models/embedding-001",
18+
# task_type="retrieval_document",
19+
# # title="Embeddings",
20+
# ),
21+
# ),
22+
# )
23+
# )
24+
25+
dir_search_tool = DirectorySearchTool()

agentstack/test/src/test/__init__.py

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "dir_search_tool",
3+
"package": "poetry add 'crewai[tools]'",
4+
"env": "",
5+
"tools": ["dir_search_tool"]
6+
}

0 commit comments

Comments
 (0)