File size: 1,168 Bytes
776e7c0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
"""
MCP Sentiment Analysis Server Package.
This package provides a complete Model Context Protocol server implementation
for sentiment analysis with Gradio web interface integration.
"""
from .sentiment_analyzer import (
SentimentAnalyzer,
SentimentResult,
SentimentLabel,
get_analyzer,
analyze_sentiment
)
from .tools import (
MCPTools,
get_tools,
list_tools,
call_tool
)
from .mcp_server import (
SentimentMCPServer,
MCPServerRunner,
create_server
)
from .gradio_interface import (
GradioInterface,
create_gradio_interface
)
__version__ = "1.0.0"
__author__ = "MCP Sentiment Analysis Team"
__description__ = "Model Context Protocol server for sentiment analysis with Gradio interface"
__all__ = [
# Sentiment Analysis
"SentimentAnalyzer",
"SentimentResult",
"SentimentLabel",
"get_analyzer",
"analyze_sentiment",
# MCP Tools
"MCPTools",
"get_tools",
"list_tools",
"call_tool",
# MCP Server
"SentimentMCPServer",
"MCPServerRunner",
"create_server",
# Gradio Interface
"GradioInterface",
"create_gradio_interface",
] |