meadows-bot 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- meadows/bot/__about__.py +3 -0
- meadows/bot/__init__.py +37 -0
- meadows/bot/base.py +972 -0
- meadows/bot/chat_bot.py +203 -0
- meadows/bot/examples/__init__.py +7 -0
- meadows/bot/examples/dependent_bot.py +72 -0
- meadows/bot/examples/echo_bot.py +99 -0
- meadows/bot/examples/echo_service_bot.py +118 -0
- meadows/bot/examples/label_listener_bot.py +137 -0
- meadows/bot/examples/math_service_bot.py +149 -0
- meadows/bot/examples/rpc_caller_bot.py +162 -0
- meadows/bot/examples/sentiment_bot.py +166 -0
- meadows/bot/examples/todo_bot.py +331 -0
- meadows/bot/export_bot.py +139 -0
- meadows/bot/fetch_bot.py +288 -0
- meadows/bot/help_bot.py +101 -0
- meadows/bot/llm.py +127 -0
- meadows/bot/rag_bot.py +196 -0
- meadows/bot/slo_bot.py +209 -0
- meadows/bot/stats_bot.py +290 -0
- meadows_bot-0.1.0.dist-info/METADATA +137 -0
- meadows_bot-0.1.0.dist-info/RECORD +23 -0
- meadows_bot-0.1.0.dist-info/WHEEL +4 -0
meadows/bot/__about__.py
ADDED
meadows/bot/__init__.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""MEADOWS bot SDK.
|
|
2
|
+
|
|
3
|
+
BUSINESS RULE (MEADOWS §5 line 131): Document for AI use, because an AI
|
|
4
|
+
writes alongside humans. The existing bot-development-guide.md is the
|
|
5
|
+
pattern to continue: example-first, copy-pasteable, dense tables.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from meadows.bot.__about__ import __version__
|
|
9
|
+
from meadows.bot.base import BaseBot
|
|
10
|
+
from meadows.bot.llm import LLMBot
|
|
11
|
+
|
|
12
|
+
__all__ = ["BaseBot", "LLMBot", "__version__"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def __getattr__(name):
|
|
16
|
+
if name == "HelpBot":
|
|
17
|
+
from meadows.bot.help_bot import HelpBot
|
|
18
|
+
return HelpBot
|
|
19
|
+
if name == "StatsBot":
|
|
20
|
+
from meadows.bot.stats_bot import StatsBot
|
|
21
|
+
return StatsBot
|
|
22
|
+
if name == "RagBot":
|
|
23
|
+
from meadows.bot.rag_bot import RagBot
|
|
24
|
+
return RagBot
|
|
25
|
+
if name == "SLOBot":
|
|
26
|
+
from meadows.bot.slo_bot import SLOBot
|
|
27
|
+
return SLOBot
|
|
28
|
+
if name == "FetchBot":
|
|
29
|
+
from meadows.bot.fetch_bot import FetchBot
|
|
30
|
+
return FetchBot
|
|
31
|
+
if name == "ExportBot":
|
|
32
|
+
from meadows.bot.export_bot import ExportBot
|
|
33
|
+
return ExportBot
|
|
34
|
+
if name == "ChatBot":
|
|
35
|
+
from meadows.bot.chat_bot import ChatBot
|
|
36
|
+
return ChatBot
|
|
37
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|