igbot-base 0.0.31__py3-none-any.whl → 0.0.32__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/llmmemory.py CHANGED
@@ -2,7 +2,7 @@ from abc import ABC, abstractmethod
2
2
 
3
3
 
4
4
  class LlmMemory(ABC):
5
- # todo: capacity of memory
5
+
6
6
  @abstractmethod
7
7
  def retrieve(self):
8
8
  pass
@@ -55,5 +55,9 @@ class LlmMemory(ABC):
55
55
  def describe(self):
56
56
  pass
57
57
 
58
+ @abstractmethod
59
+ def slice(self, from_index, to_index) -> LlmMemory:
60
+ pass
61
+
58
62
  def __str__(self):
59
63
  return self.describe()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: igbot_base
3
- Version: 0.0.31
3
+ Version: 0.0.32
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
@@ -4,7 +4,7 @@ igbot_base/agent_response.py,sha256=ujLaFkIw9he-X1YFIICTJvq_4pmzTvTF4txEfeZtKSA,
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
- igbot_base/llmmemory.py,sha256=fhHrqYi3VTDsCc5riK0pbcIUH4rC_xYOJdFKZ_9zndM,1099
7
+ igbot_base/llmmemory.py,sha256=NvC5UG0HC0Pgu3qvuUdF5lK6ifJXsNOoaH2AfWkpDM4,1159
8
8
  igbot_base/logging_adapter.py,sha256=kMuAaQPCba2luk0-WPxAbPNJaBL1yZsaff35ltKWgww,256
9
9
  igbot_base/models.py,sha256=kbscj0jTNkJu9cglEQILjdOWJuwD3pZ0Q1rxz2q7tg8,1370
10
10
  igbot_base/notifier.py,sha256=-uBInGqdPBKML9ryxGnIAeB498sZGSQRga33vbSIkE0,244
@@ -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.31.dist-info/METADATA,sha256=2mE8WPcs8Su0bCIlj48Y7XBT_s_tDSy9PxFMaIrS6CQ,235
19
- igbot_base-0.0.31.dist-info/WHEEL,sha256=7ciDxtlje1X8OhobNuGgi1t-ACdFSelPnSmDPrtlobY,91
20
- igbot_base-0.0.31.dist-info/top_level.txt,sha256=RGpEN0pLsnfNLoLfpw1D_nLSyZwi3ggSaDq07o4ZEAI,11
21
- igbot_base-0.0.31.dist-info/RECORD,,
18
+ igbot_base-0.0.32.dist-info/METADATA,sha256=k-9Wv6zJv7Trk9GSOzCWrnqaG4KnpUpBBnuS1m_xr7g,235
19
+ igbot_base-0.0.32.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
20
+ igbot_base-0.0.32.dist-info/top_level.txt,sha256=RGpEN0pLsnfNLoLfpw1D_nLSyZwi3ggSaDq07o4ZEAI,11
21
+ igbot_base-0.0.32.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.2.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5