Jayashree Sridhar
commited on
Commit
·
b28635c
1
Parent(s):
acc777a
added crewai_tools for importing basetool
Browse files- agents/tools/knowledge_tools.py +2 -2
- agents/tools/llm_tools.py +2 -2
- agents/tools/validation_tools.py +2 -2
- agents/tools/voice_tools.py +2 -2
- requirements.txt +1 -1
agents/tools/knowledge_tools.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
from .base_tool import BaseTool
|
| 2 |
from utils.knowledge_base import KnowledgeBase
|
| 3 |
#from pydantic import BaseModel, PrivateAttr
|
| 4 |
-
|
| 5 |
|
| 6 |
|
| 7 |
|
|
|
|
| 1 |
+
#from .base_tool import BaseTool
|
| 2 |
from utils.knowledge_base import KnowledgeBase
|
| 3 |
#from pydantic import BaseModel, PrivateAttr
|
| 4 |
+
from crewai.tools import BaseTool
|
| 5 |
|
| 6 |
|
| 7 |
|
agents/tools/llm_tools.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
from .base_tool import BaseTool
|
| 2 |
from models.tinygpt2_model import TinyGPT2Model
|
| 3 |
#from pydantic import BaseModel, PrivateAttr
|
| 4 |
-
|
| 5 |
|
| 6 |
|
| 7 |
|
|
|
|
| 1 |
+
#from .base_tool import BaseTool
|
| 2 |
from models.tinygpt2_model import TinyGPT2Model
|
| 3 |
#from pydantic import BaseModel, PrivateAttr
|
| 4 |
+
from crewai.tools import BaseTool
|
| 5 |
|
| 6 |
|
| 7 |
|
agents/tools/validation_tools.py
CHANGED
|
@@ -9,8 +9,8 @@ import json
|
|
| 9 |
from transformers import pipeline
|
| 10 |
import torch
|
| 11 |
#from pydantic import BaseModel, PrivateAttr
|
| 12 |
-
|
| 13 |
-
from .base_tool import BaseTool
|
| 14 |
|
| 15 |
|
| 16 |
|
|
|
|
| 9 |
from transformers import pipeline
|
| 10 |
import torch
|
| 11 |
#from pydantic import BaseModel, PrivateAttr
|
| 12 |
+
from crewai.tools import BaseTool
|
| 13 |
+
#from .base_tool import BaseTool
|
| 14 |
|
| 15 |
|
| 16 |
|
agents/tools/voice_tools.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import numpy as np
|
| 2 |
import asyncio
|
| 3 |
-
from .base_tool import BaseTool
|
| 4 |
from models.tinygpt2_model import TinyGPT2Model
|
| 5 |
from transformers import pipeline, AutoProcessor, AutoModelForSpeechSeq2Seq
|
| 6 |
import os
|
|
@@ -8,7 +8,7 @@ import tempfile
|
|
| 8 |
import soundfile as sf
|
| 9 |
import torch
|
| 10 |
#from pydantic import BaseModel, PrivateAttr
|
| 11 |
-
|
| 12 |
|
| 13 |
|
| 14 |
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
import asyncio
|
| 3 |
+
#from .base_tool import BaseTool
|
| 4 |
from models.tinygpt2_model import TinyGPT2Model
|
| 5 |
from transformers import pipeline, AutoProcessor, AutoModelForSpeechSeq2Seq
|
| 6 |
import os
|
|
|
|
| 8 |
import soundfile as sf
|
| 9 |
import torch
|
| 10 |
#from pydantic import BaseModel, PrivateAttr
|
| 11 |
+
from crewai.tools import BaseTool
|
| 12 |
|
| 13 |
|
| 14 |
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
|
| 2 |
-
|
| 3 |
crewai
|
| 4 |
langchain
|
| 5 |
langchain-community
|
|
|
|
| 1 |
|
| 2 |
+
crewai-tools==0.25.8
|
| 3 |
crewai
|
| 4 |
langchain
|
| 5 |
langchain-community
|