igbot-base 0.0.5__tar.gz → 0.0.7__tar.gz
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-0.0.5 → igbot_base-0.0.7}/PKG-INFO +1 -1
- igbot_base-0.0.7/igbot_base/__init__.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/agent.py +1 -1
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/llm.py +4 -4
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/persistable_memory.py +1 -1
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/prompt_template.py +1 -1
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/vectorstore.py +1 -1
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base.egg-info/PKG-INFO +1 -1
- {igbot_base-0.0.5 → igbot_base-0.0.7}/pyproject.toml +1 -1
- igbot_base-0.0.5/igbot_base/__init__.py +0 -28
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/agent_response.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/exception_handler.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/llmmemory.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/models.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/response_formats.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/retriever.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base/tool.py +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base.egg-info/SOURCES.txt +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base.egg-info/dependency_links.txt +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base.egg-info/requires.txt +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/igbot_base.egg-info/top_level.txt +0 -0
- {igbot_base-0.0.5 → igbot_base-0.0.7}/setup.cfg +0 -0
File without changes
|
@@ -2,9 +2,9 @@ from abc import ABC, abstractmethod
|
|
2
2
|
from builtins import dict
|
3
3
|
from typing import Optional
|
4
4
|
|
5
|
-
from igbot_base.
|
6
|
-
from igbot_base.
|
7
|
-
from igbot_base.
|
5
|
+
from igbot_base.exception_handler import ExceptionHandler, NoopExceptionHandler
|
6
|
+
from igbot_base.llmmemory import LlmMemory
|
7
|
+
from igbot_base.models import Model
|
8
8
|
|
9
9
|
|
10
10
|
class Llm(ABC):
|
@@ -30,7 +30,7 @@ class Llm(ABC):
|
|
30
30
|
history.revert_to_snapshot()
|
31
31
|
|
32
32
|
def call(self, user_query: str, history: LlmMemory, params: dict) -> str:
|
33
|
-
history.set_snapshot()
|
33
|
+
#history.set_snapshot()
|
34
34
|
try:
|
35
35
|
return self._call(user_query, history, params)
|
36
36
|
except Exception as e:
|
@@ -1,28 +0,0 @@
|
|
1
|
-
from agent import Agent as Agent
|
2
|
-
|
3
|
-
from agent_response import AgentResponse as AgentResponse
|
4
|
-
|
5
|
-
from exception_handler import ExceptionHandler as ExceptionHandler
|
6
|
-
from exception_handler import PrintingExceptionHandler as PrintingExceptionHandler
|
7
|
-
from exception_handler import NoopExceptionHandler as NoopExceptionHandler
|
8
|
-
|
9
|
-
from llm import Llm as Llm
|
10
|
-
|
11
|
-
from llmmemory import LlmMemory as LlmMemory
|
12
|
-
|
13
|
-
from models import Model as Model
|
14
|
-
from models import ModelInfo as ModelInfo
|
15
|
-
|
16
|
-
from persistable_memory import PersistableMemory as PersistableMemory
|
17
|
-
|
18
|
-
from prompt_template import Prompt as Prompt
|
19
|
-
|
20
|
-
from response_formats import ResponseFormat as ResponseFormat
|
21
|
-
|
22
|
-
from retriever import Retriever as Retriever
|
23
|
-
|
24
|
-
from tool import Tool as Tool
|
25
|
-
|
26
|
-
from vectorstore import Vectorstore as Vectorstore
|
27
|
-
from vectorstore import Metadata as Metadata
|
28
|
-
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|