agi-med-common 1.3.0__tar.gz → 1.4.0__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.
Files changed (25) hide show
  1. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/PKG-INFO +1 -1
  2. agi_med_common-1.4.0/src/agi_med_common/__init__.py +1 -0
  3. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/chat_item/outer_context_item.py +5 -5
  4. agi_med_common-1.4.0/src/agi_med_common/models/chat_item/replica_item.py +10 -0
  5. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/enums/track_id_enum.py +1 -0
  6. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common.egg-info/PKG-INFO +1 -1
  7. agi_med_common-1.3.0/src/agi_med_common/__init__.py +0 -1
  8. agi_med_common-1.3.0/src/agi_med_common/models/chat_item/replica_item.py +0 -10
  9. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/README.md +0 -0
  10. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/pyproject.toml +0 -0
  11. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/requirements.txt +0 -0
  12. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/setup.cfg +0 -0
  13. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/logger/__init__.py +0 -0
  14. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/logger/log_level_enum.py +0 -0
  15. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/logger/logger.py +0 -0
  16. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/__init__.py +0 -0
  17. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/_base.py +0 -0
  18. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/chat_item/__init__.py +0 -0
  19. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/chat_item/chat_item.py +0 -0
  20. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/chat_item/inner_context_item.py +0 -0
  21. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common/models/enums/__init__.py +0 -0
  22. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common.egg-info/SOURCES.txt +0 -0
  23. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common.egg-info/dependency_links.txt +0 -0
  24. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common.egg-info/requires.txt +0 -0
  25. {agi_med_common-1.3.0 → agi_med_common-1.4.0}/src/agi_med_common.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agi_med_common
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: Сommon for agi-med team
5
5
  Author: AGI-MED-TEAM
6
6
  Requires-Python: >=3.13
@@ -0,0 +1 @@
1
+ __version__ = "1.4.0"
@@ -5,11 +5,11 @@ from ..enums import TrackIdEnum
5
5
 
6
6
 
7
7
  class OuterContextItem(_Base):
8
- sex: bool = Field(alias="Sex", description="True = male, False = female", examples=[True])
9
- age: int = Field(alias="Age", examples=[20])
10
- user_id: str = Field(alias="UserId", examples=["123456789"])
11
- session_id: str = Field(alias="SessionId", examples=["987654321"])
12
- client_id: str = Field(alias="ClientId", examples=["543216789"])
8
+ sex: bool = Field(False, alias="Sex", description="True = male, False = female", examples=[True])
9
+ age: int = Field(0, alias="Age", examples=[20])
10
+ user_id: str = Field("", alias="UserId", examples=["123456789"])
11
+ session_id: str = Field("", alias="SessionId", examples=["987654321"])
12
+ client_id: str = Field("", alias="ClientId", examples=["543216789"])
13
13
  track_id: TrackIdEnum = Field(TrackIdEnum.DIAGNOSTIC, alias="TrackId")
14
14
 
15
15
  def create_id(self, short: bool = False) -> str:
@@ -0,0 +1,10 @@
1
+ from pydantic import Field
2
+
3
+ from .. import _Base
4
+
5
+
6
+ class ReplicaItem(_Base):
7
+ body: str = Field("", alias="Body", examples=["Привет"])
8
+ role: bool = Field(False, alias="Role", description="True = ai, False = client", examples=[False])
9
+ date_time: str = Field("1970-01-01-00-00-00", alias="DateTime", examples=["2024-12-10-18-03-46"])
10
+ previous_score: float | None = Field(None, alias="PreviousScore")
@@ -11,3 +11,4 @@ class TrackIdEnum(StrEnum):
11
11
  MEDICAL_TEST_DECRYPTION = auto()
12
12
  CONSULTATION = auto()
13
13
  SUMMARIZATION = auto()
14
+ ANAL_DECRYPTION = auto()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agi_med_common
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: Сommon for agi-med team
5
5
  Author: AGI-MED-TEAM
6
6
  Requires-Python: >=3.13
@@ -1 +0,0 @@
1
- __version__ = "1.3.0"
@@ -1,10 +0,0 @@
1
- from pydantic import Field
2
-
3
- from .. import _Base
4
-
5
-
6
- class ReplicaItem(_Base):
7
- body: str = Field(alias="Body", examples=["Привет"])
8
- role: bool = Field(alias="Role", description="True = ai, False = client", examples=[False])
9
- date_time: str = Field(alias="DateTime", examples=["2024-12-10-18-03-46"])
10
- previous_score: float | None = Field(None, alias="PreviousScore")
File without changes
File without changes