Skip to content

Commit

Permalink
add directory search tool
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed Oct 23, 2024
1 parent 892a8da commit 10ae916
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
25 changes: 25 additions & 0 deletions agentstack/templates/crewai/tools/dir_search_tool.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from crewai_tools import DirectorySearchTool

# dir_search_tool = DirectorySearchTool(
# config=dict(
# llm=dict(
# provider="ollama",
# config=dict(
# model="llama2",
# # temperature=0.5,
# # top_p=1,
# # stream=true,
# ),
# ),
# embedder=dict(
# provider="google",
# config=dict(
# model="models/embedding-001",
# task_type="retrieval_document",
# # title="Embeddings",
# ),
# ),
# )
# )

dir_search_tool = DirectorySearchTool()
Empty file.
6 changes: 6 additions & 0 deletions agentstack/tools/dir_search_tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "dir_search_tool",
"package": "poetry add 'crewai[tools]'",
"env": "",
"tools": ["dir_search_tool"]
}

0 comments on commit 10ae916

Please sign in to comment.