igbot-base 0.0.25__py3-none-any.whl → 0.0.27__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.
@@ -31,7 +31,7 @@ class AgentResponse:
31
31
  return AgentResponse(error_message, Type.ERROR, exception)
32
32
 
33
33
  @staticmethod
34
- def success(response: str):
34
+ def success(response: any):
35
35
  return AgentResponse(response, Type.SUCCESS, None)
36
36
 
37
37
  @staticmethod
igbot_base/notifier.py CHANGED
@@ -1,10 +1,12 @@
1
1
  from abc import ABC, abstractmethod
2
+ from typing import Optional
2
3
 
3
4
  from pydantic import BaseModel, field_validator
4
5
 
5
6
 
6
7
  class Notification(BaseModel):
7
8
  message: str
9
+ data: Optional[any]
8
10
 
9
11
  @field_validator("message")
10
12
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: igbot_base
3
- Version: 0.0.25
3
+ Version: 0.0.27
4
4
  Summary: Base classes for igbot
5
5
  Author-email: Igor Kopeć <igor.kopec95@gmail.com>
6
6
  License: LGPL-3.0-or-later
@@ -1,13 +1,13 @@
1
1
  igbot_base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  igbot_base/agent.py,sha256=pDpJ6DkzgAAli9T53bDSqzo6bWB6IxczfZYi9LjkDzM,1021
3
- igbot_base/agent_response.py,sha256=fmZLaPlpnolXWrPVtNah20nI3Cble21DMQybPJxMvrs,1041
3
+ igbot_base/agent_response.py,sha256=ujLaFkIw9he-X1YFIICTJvq_4pmzTvTF4txEfeZtKSA,1041
4
4
  igbot_base/base_exception.py,sha256=uRZXwYdsER2y_Rlah1TaSXwR6Kb9t2lNyngar0p5YFk,2146
5
5
  igbot_base/exception_handler.py,sha256=Er5LbNt2ga2-e0GSzkJw66E-NS1dN_2msTRyyac1qX8,536
6
6
  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=iZLU76LFQzNcz1A4fnsogdUSL_G3pP9XGT8ETlztlYU,455
10
+ igbot_base/notifier.py,sha256=Wz828DsQb8wcHV0oYq1Oa07yNGDio6B0SlmjoutRBXQ,507
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.25.dist-info/METADATA,sha256=fi5_8agHP32isSvyfipOUNME3wwR5tlhqynpyJYbzUM,235
19
- igbot_base-0.0.25.dist-info/WHEEL,sha256=GHB6lJx2juba1wDgXDNlMTyM13ckjBMKf-OnwgKOCtA,91
20
- igbot_base-0.0.25.dist-info/top_level.txt,sha256=RGpEN0pLsnfNLoLfpw1D_nLSyZwi3ggSaDq07o4ZEAI,11
21
- igbot_base-0.0.25.dist-info/RECORD,,
18
+ igbot_base-0.0.27.dist-info/METADATA,sha256=s48dD-mTAKLb7J4FtDuFY0My0xztLjMePMcSbtd1vPM,235
19
+ igbot_base-0.0.27.dist-info/WHEEL,sha256=7ciDxtlje1X8OhobNuGgi1t-ACdFSelPnSmDPrtlobY,91
20
+ igbot_base-0.0.27.dist-info/top_level.txt,sha256=RGpEN0pLsnfNLoLfpw1D_nLSyZwi3ggSaDq07o4ZEAI,11
21
+ igbot_base-0.0.27.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.0)
2
+ Generator: setuptools (80.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5