Spaces:
Sleeping
Sleeping
Update pipeline.py
Browse files- pipeline.py +6 -0
pipeline.py
CHANGED
@@ -11,6 +11,12 @@ from smolagents import CodeAgent, DuckDuckGoSearchTool, ManagedAgent, LiteLLMMod
|
|
11 |
import subprocess # Import subprocess to run shell commands
|
12 |
from langchain.llms.base import LLM # Import LLM
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
# Mistral Client Setup
|
15 |
from mistralai import Mistral # Import the Mistral client
|
16 |
from pydantic_ai import Agent # Import Pydantic AI's Agent
|
|
|
11 |
import subprocess # Import subprocess to run shell commands
|
12 |
from langchain.llms.base import LLM # Import LLM
|
13 |
|
14 |
+
# Import the functions from respective chain files
|
15 |
+
from classification_chain import get_classification_chain
|
16 |
+
from refusal_chain import get_refusal_chain
|
17 |
+
from tailor_chain import get_tailor_chain
|
18 |
+
from cleaner_chain import get_cleaner_chain
|
19 |
+
|
20 |
# Mistral Client Setup
|
21 |
from mistralai import Mistral # Import the Mistral client
|
22 |
from pydantic_ai import Agent # Import Pydantic AI's Agent
|