mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-20 21:38:14 +00:00
Quick tools reorganization
This commit is contained in:
@@ -1 +1 @@
|
||||
from .base_tool import BaseTool, Tool, as_tool, tool
|
||||
from .tools.base_tool import BaseTool, Tool, as_tool, tool
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from embedchain import App
|
||||
|
||||
from crewai_tools.rag_tool import Adapter
|
||||
from crewai_tools.tools.rag.rag_tool import Adapter
|
||||
|
||||
|
||||
class EmbedchainAdapter(Adapter):
|
||||
|
||||
@@ -7,7 +7,7 @@ from lancedb.table import Table as LanceDBTable
|
||||
from openai import Client as OpenAIClient
|
||||
from pydantic import Field, PrivateAttr
|
||||
|
||||
from crewai_tools.rag_tool import Adapter
|
||||
from crewai_tools.tools.rag.rag_tool import Adapter
|
||||
|
||||
|
||||
def _default_embedding_function():
|
||||
|
||||
0
src/crewai_tools/tools/rag/__init__.py
Normal file
0
src/crewai_tools/tools/rag/__init__.py
Normal file
@@ -3,7 +3,7 @@ from typing import Any
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
from crewai_tools.base_tool import BaseTool
|
||||
from crewai_tools.tools.base_tool import BaseTool
|
||||
|
||||
|
||||
class Adapter(BaseModel, ABC):
|
||||
Reference in New Issue
Block a user