34 lines
746 B
Python
34 lines
746 B
Python
|
|
from .agent import SpamClassificationAgent, AgentConfig, Message, agent, get_agent
|
||
|
|
from .tools import (
|
||
|
|
PredictSpamInput,
|
||
|
|
PredictSpamOutput,
|
||
|
|
predict_spam_tool,
|
||
|
|
ExplainPredictionInput,
|
||
|
|
ExplainPredictionOutput,
|
||
|
|
explain_prediction_tool,
|
||
|
|
TranslateTextInput,
|
||
|
|
TranslateTextOutput,
|
||
|
|
translate_text_tool,
|
||
|
|
TOOLS
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
# agent.py
|
||
|
|
"SpamClassificationAgent",
|
||
|
|
"AgentConfig",
|
||
|
|
"Message",
|
||
|
|
"agent",
|
||
|
|
"get_agent",
|
||
|
|
|
||
|
|
# tools.py
|
||
|
|
"PredictSpamInput",
|
||
|
|
"PredictSpamOutput",
|
||
|
|
"predict_spam_tool",
|
||
|
|
"ExplainPredictionInput",
|
||
|
|
"ExplainPredictionOutput",
|
||
|
|
"explain_prediction_tool",
|
||
|
|
"TranslateTextInput",
|
||
|
|
"TranslateTextOutput",
|
||
|
|
"translate_text_tool",
|
||
|
|
"TOOLS"
|
||
|
|
]
|