agi-med-common 5.0.1__py3-none-any.whl → 5.0.2__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.
- agi_med_common/__init__.py +2 -1
- agi_med_common/api/chat_manager_api.py +14 -0
- {agi_med_common-5.0.1.dist-info → agi_med_common-5.0.2.dist-info}/METADATA +1 -1
- {agi_med_common-5.0.1.dist-info → agi_med_common-5.0.2.dist-info}/RECORD +6 -5
- {agi_med_common-5.0.1.dist-info → agi_med_common-5.0.2.dist-info}/WHEEL +0 -0
- {agi_med_common-5.0.1.dist-info → agi_med_common-5.0.2.dist-info}/top_level.txt +0 -0
agi_med_common/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "5.0.
|
1
|
+
__version__ = "5.0.2"
|
2
2
|
|
3
3
|
from .logger import LogLevelEnum, logger_init, log_llm_error
|
4
4
|
from .models import (
|
@@ -16,3 +16,4 @@ from .validators import ExistingPath, ExistingFile, ExistingDir, StrNotEmpty, Se
|
|
16
16
|
from .xml_parser import XMLParser
|
17
17
|
from .parallel_map import parallel_map
|
18
18
|
from .models.tracks import TrackInfo, DomainInfo
|
19
|
+
from .api.chat_manager_api import ChatManagerAPI
|
@@ -0,0 +1,14 @@
|
|
1
|
+
from typing import List
|
2
|
+
|
3
|
+
from agi_med_common.models import ChatItem, ReplicaItem, DomainInfo, TrackInfo
|
4
|
+
|
5
|
+
|
6
|
+
class ChatManagerAPI:
|
7
|
+
def get_domains(self, language_code: str, client_id: str) -> List[DomainInfo]:
|
8
|
+
raise NotImplementedError
|
9
|
+
|
10
|
+
def get_tracks(self, language_code: str, client_id: str) -> List[TrackInfo]:
|
11
|
+
raise NotImplementedError
|
12
|
+
|
13
|
+
def get_response(self, chat: ChatItem, request_id: str = "") -> List[ReplicaItem]:
|
14
|
+
raise NotImplementedError
|
@@ -1,9 +1,10 @@
|
|
1
|
-
agi_med_common/__init__.py,sha256=
|
1
|
+
agi_med_common/__init__.py,sha256=rVxCZWXy73Nxn_wtfVkFhg4gGLvkoGuKv7MZ1UbXPTY,759
|
2
2
|
agi_med_common/file_storage.py,sha256=yAP65qT0NbkaasFLhwnNzXOpd5vAetF3wP6Sbf_tbak,1766
|
3
3
|
agi_med_common/parallel_map.py,sha256=Qx6xe7DqlEUDpSucp5Hm8r9y9Iquwh9JvX7lOqHhnOw,921
|
4
4
|
agi_med_common/utils.py,sha256=rBNAECUrvvyf-UZ650IpTfHvx5I8lYSnsB8QPBKti48,1276
|
5
5
|
agi_med_common/validators.py,sha256=vMoPN42XzC8re-zdjekk5_lNQYHuTiAWD56YLvj2Z2w,2824
|
6
6
|
agi_med_common/xml_parser.py,sha256=VvLIX_XCZao9i0qqpTVx8nx0vbFXSe8pEbdJdXnj97g,568
|
7
|
+
agi_med_common/api/chat_manager_api.py,sha256=e-LJSmnWCFW1Wj5R3uavlKaq9p5VBoErqP_Tif2Qo-4,483
|
7
8
|
agi_med_common/logger/__init__.py,sha256=RW_0VZtbeJ4RsLqUXZUQWl5CtV9g840rU7qRlf5u49E,96
|
8
9
|
agi_med_common/logger/log_level_enum.py,sha256=lWuSMho9I0v_xf1RuwpERx5o8NJXaavjwxSdh8fxMqE,477
|
9
10
|
agi_med_common/logger/logger.py,sha256=-VU69ULbw2-pNpOcxKiMpOeRAPe6H-EsGV9WRTv1SUo,839
|
@@ -15,7 +16,7 @@ agi_med_common/models/tracks.py,sha256=UP-jeWqDiCK6dyoMDfs7hemgl_xsJKee_DApjBf-X
|
|
15
16
|
agi_med_common/models/widget.py,sha256=g7Bobyk_gANghGEhjDjvi4i-YRoHo5Bm1Pr4eF-zf0U,661
|
16
17
|
agi_med_common/models/base_config_models/__init__.py,sha256=KjS_bSCka8BOMsigwcIML-e6eNB2ouMU6gxlhRmzeuY,44
|
17
18
|
agi_med_common/models/base_config_models/gigachat_config.py,sha256=WNSCTO8Fjpxc1v2LRUHfKqo9aeMDpXltTHYBFgTD2N0,422
|
18
|
-
agi_med_common-5.0.
|
19
|
-
agi_med_common-5.0.
|
20
|
-
agi_med_common-5.0.
|
21
|
-
agi_med_common-5.0.
|
19
|
+
agi_med_common-5.0.2.dist-info/METADATA,sha256=xquIp-PHWb6csoSfzyAmLpHJzZAQVqMwH2kI8G359-A,546
|
20
|
+
agi_med_common-5.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
21
|
+
agi_med_common-5.0.2.dist-info/top_level.txt,sha256=26o565jF_7wYQj7-YJfTedtT9yDxDcf8RNikOYuPq78,15
|
22
|
+
agi_med_common-5.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|