igbot-base 0.0.27__py3-none-any.whl → 0.0.28__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.
- igbot_base/notifier.py +2 -11
- {igbot_base-0.0.27.dist-info → igbot_base-0.0.28.dist-info}/METADATA +1 -1
- {igbot_base-0.0.27.dist-info → igbot_base-0.0.28.dist-info}/RECORD +5 -5
- {igbot_base-0.0.27.dist-info → igbot_base-0.0.28.dist-info}/WHEEL +0 -0
- {igbot_base-0.0.27.dist-info → igbot_base-0.0.28.dist-info}/top_level.txt +0 -0
igbot_base/notifier.py
CHANGED
@@ -1,19 +1,10 @@
|
|
1
1
|
from abc import ABC, abstractmethod
|
2
|
-
from typing import Optional
|
3
2
|
|
4
|
-
from pydantic import BaseModel
|
3
|
+
from pydantic import BaseModel
|
5
4
|
|
6
5
|
|
7
6
|
class Notification(BaseModel):
|
8
|
-
|
9
|
-
data: Optional[any]
|
10
|
-
|
11
|
-
@field_validator("message")
|
12
|
-
@classmethod
|
13
|
-
def validate_message(cls, v: str) -> str:
|
14
|
-
if not v or not v.strip():
|
15
|
-
raise ValueError("Message cannot be empty or blank")
|
16
|
-
return v
|
7
|
+
data: any
|
17
8
|
|
18
9
|
|
19
10
|
class Notifier(ABC):
|
@@ -7,7 +7,7 @@ igbot_base/llm.py,sha256=0zul2Q3aiCpdhcLbTcpdSPkLdX7Dvwhhiv2V_KH7YRo,2157
|
|
7
7
|
igbot_base/llmmemory.py,sha256=fhHrqYi3VTDsCc5riK0pbcIUH4rC_xYOJdFKZ_9zndM,1099
|
8
8
|
igbot_base/logging_adapter.py,sha256=kMuAaQPCba2luk0-WPxAbPNJaBL1yZsaff35ltKWgww,256
|
9
9
|
igbot_base/models.py,sha256=cgZwQ2GEeM_hCUxSwyls0b9CsjIsgImjzq7b3c289g4,1226
|
10
|
-
igbot_base/notifier.py,sha256=
|
10
|
+
igbot_base/notifier.py,sha256=TZtMo_EUdPMRTOVgYo3X2KxH63hOIzVJU7_7xVBDyd4,222
|
11
11
|
igbot_base/persistable_memory.py,sha256=867Z4l_awD23QSTFDK3uN9TEttKfDpxx9g19c7ULG1Y,167
|
12
12
|
igbot_base/prompt_template.py,sha256=q7bnU2Rp2Cvm4ixEmKHCyuolTPan6CHfYVAomT5kp10,1573
|
13
13
|
igbot_base/response_formats.py,sha256=Sp679VfkcyxsR19ddFEHTOM7Ox0u2WBhdji_Y9pVc2M,94
|
@@ -15,7 +15,7 @@ igbot_base/retriever.py,sha256=YHBHxiuPttsIAtjwwIz0fa9q2uFtsg0WoMRCorCt1PM,635
|
|
15
15
|
igbot_base/tokenizer.py,sha256=WSR0GFc1eoMmyL58RAxtpb2iWCrqu9vQ2Ui-hqs4plw,1032
|
16
16
|
igbot_base/tool.py,sha256=ghjuU3cK_VElHGStUl3IYf9dlRDOGM_aQucUQNUH3mU,431
|
17
17
|
igbot_base/vectorstore.py,sha256=f-S9DmOuehC0rtVAPGz22Guo7ddb1jVw7BygzFJM624,928
|
18
|
-
igbot_base-0.0.
|
19
|
-
igbot_base-0.0.
|
20
|
-
igbot_base-0.0.
|
21
|
-
igbot_base-0.0.
|
18
|
+
igbot_base-0.0.28.dist-info/METADATA,sha256=jgQ1G78KiqLXB3UY-sOjFJLEqaKSTXCCXdreyQywILk,235
|
19
|
+
igbot_base-0.0.28.dist-info/WHEEL,sha256=7ciDxtlje1X8OhobNuGgi1t-ACdFSelPnSmDPrtlobY,91
|
20
|
+
igbot_base-0.0.28.dist-info/top_level.txt,sha256=RGpEN0pLsnfNLoLfpw1D_nLSyZwi3ggSaDq07o4ZEAI,11
|
21
|
+
igbot_base-0.0.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|