maitai-python 1.2.8b0__py3-none-any.whl → 1.2.8b2__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.
- maitai/_config.py +3 -3
- maitai/_config_listener_thread.py +1 -1
- maitai/_context.py +1 -1
- maitai/_evaluator.py +2 -2
- maitai/_inference.py +3 -3
- maitai/_maitai.py +5 -5
- maitai/_maitai_async.py +5 -5
- maitai/_types.py +6 -3
- maitai/_utils.py +1 -1
- maitai/models/__init__.py +0 -0
- maitai/models/application.py +51 -0
- maitai/models/chat.py +397 -0
- maitai/models/config.py +55 -0
- maitai/models/event.py +13 -0
- maitai/models/inference.py +19 -0
- maitai/models/key.py +35 -0
- maitai/models/metric.py +18 -0
- maitai/tools/__init__.py +1 -1
- maitai_common/version.py +1 -1
- {maitai_python-1.2.8b0.dist-info → maitai_python-1.2.8b2.dist-info}/METADATA +3 -1
- maitai_python-1.2.8b2.dist-info/RECORD +32 -0
- maitai_python-1.2.8b0.dist-info/RECORD +0 -24
- {maitai_python-1.2.8b0.dist-info → maitai_python-1.2.8b2.dist-info}/WHEEL +0 -0
- {maitai_python-1.2.8b0.dist-info → maitai_python-1.2.8b2.dist-info}/top_level.txt +0 -0
maitai/_config.py
CHANGED
|
@@ -9,10 +9,10 @@ from urllib3 import Retry
|
|
|
9
9
|
|
|
10
10
|
from maitai._config_listener_thread import ConfigListenerThread
|
|
11
11
|
from maitai._maitai_client import MaitaiClient
|
|
12
|
+
from maitai.models.application import Application
|
|
13
|
+
from maitai.models.config import Config as ActionConfig
|
|
14
|
+
from maitai.models.key import Key, KeyMap
|
|
12
15
|
from maitai_common.config import config_service
|
|
13
|
-
from maitai_models.application import Application
|
|
14
|
-
from maitai_models.config import Config as ActionConfig
|
|
15
|
-
from maitai_models.key import Key, KeyMap
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class Config(MaitaiClient):
|
maitai/_context.py
CHANGED
|
@@ -5,7 +5,7 @@ import requests
|
|
|
5
5
|
from maitai._config import config
|
|
6
6
|
from maitai._utils import __version__ as version
|
|
7
7
|
from maitai._utils import required_args
|
|
8
|
-
from
|
|
8
|
+
from maitai.models.application import ApplicationContext
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ContextManager:
|
maitai/_evaluator.py
CHANGED
|
@@ -11,7 +11,7 @@ from maitai._maitai_client import MaitaiClient
|
|
|
11
11
|
from maitai._types import EvaluateCallback
|
|
12
12
|
from maitai._utils import __version__ as version
|
|
13
13
|
from maitai._utils import chat_completion_chunk_to_response
|
|
14
|
-
from
|
|
14
|
+
from maitai.models.chat import (
|
|
15
15
|
ChatCompletionChunk,
|
|
16
16
|
ChatCompletionParams,
|
|
17
17
|
ChatCompletionResponse,
|
|
@@ -19,7 +19,7 @@ from maitai_models.chat import (
|
|
|
19
19
|
EvaluateResponse,
|
|
20
20
|
EvaluationContentType,
|
|
21
21
|
)
|
|
22
|
-
from
|
|
22
|
+
from maitai.models.metric import RequestTimingMetric
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def _get_content_type(content, partial=None):
|
maitai/_inference.py
CHANGED
|
@@ -11,9 +11,9 @@ from maitai._maitai_client import MaitaiClient
|
|
|
11
11
|
from maitai._types import AsyncChunkQueue, ChunkQueue, EvaluateCallback, QueueIterable
|
|
12
12
|
from maitai._utils import __version__ as version
|
|
13
13
|
from maitai._utils import chat_completion_chunk_to_response
|
|
14
|
-
from
|
|
15
|
-
from
|
|
16
|
-
from
|
|
14
|
+
from maitai.models.chat import ChatCompletionChunk, ChatCompletionResponse
|
|
15
|
+
from maitai.models.inference import InferenceStreamResponse
|
|
16
|
+
from maitai.models.metric import RequestTimingMetric
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class InferenceException(Exception):
|
maitai/_maitai.py
CHANGED
|
@@ -34,16 +34,16 @@ from maitai._utils import (
|
|
|
34
34
|
required_args,
|
|
35
35
|
type_to_response_format_param,
|
|
36
36
|
)
|
|
37
|
-
from maitai.
|
|
38
|
-
from maitai_models.chat import (
|
|
37
|
+
from maitai.models.chat import (
|
|
39
38
|
AzureParams,
|
|
40
39
|
ChatCompletionParams,
|
|
41
40
|
ClientParams,
|
|
42
41
|
EvaluationContentType,
|
|
43
42
|
)
|
|
44
|
-
from
|
|
45
|
-
from
|
|
46
|
-
from
|
|
43
|
+
from maitai.models.config import InferenceLocations
|
|
44
|
+
from maitai.models.inference import InferenceStreamResponse
|
|
45
|
+
from maitai.models.metric import RequestTimingMetric
|
|
46
|
+
from maitai.tools import Tools
|
|
47
47
|
|
|
48
48
|
DEFAULT_MAX_RETRIES = 2
|
|
49
49
|
|
maitai/_maitai_async.py
CHANGED
|
@@ -34,16 +34,16 @@ from maitai._utils import (
|
|
|
34
34
|
required_args,
|
|
35
35
|
type_to_response_format_param,
|
|
36
36
|
)
|
|
37
|
-
from maitai.
|
|
38
|
-
from maitai_models.chat import (
|
|
37
|
+
from maitai.models.chat import (
|
|
39
38
|
AzureParams,
|
|
40
39
|
ChatCompletionParams,
|
|
41
40
|
ClientParams,
|
|
42
41
|
EvaluationContentType,
|
|
43
42
|
)
|
|
44
|
-
from
|
|
45
|
-
from
|
|
46
|
-
from
|
|
43
|
+
from maitai.models.config import InferenceLocations
|
|
44
|
+
from maitai.models.inference import InferenceStreamResponse
|
|
45
|
+
from maitai.models.metric import RequestTimingMetric
|
|
46
|
+
from maitai.tools import Tools
|
|
47
47
|
|
|
48
48
|
DEFAULT_MAX_RETRIES = 2
|
|
49
49
|
|
maitai/_types.py
CHANGED
|
@@ -12,9 +12,9 @@ import openai.types.chat as openai_chat_types
|
|
|
12
12
|
from pydantic import BaseModel
|
|
13
13
|
from typing_extensions import Literal, runtime_checkable
|
|
14
14
|
|
|
15
|
-
import
|
|
16
|
-
from
|
|
17
|
-
from
|
|
15
|
+
import maitai.models.chat as chat_types
|
|
16
|
+
from maitai.models.chat import *
|
|
17
|
+
from maitai.models.chat import ChatCompletionResponse, Tool
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Omit:
|
|
@@ -30,6 +30,9 @@ Body = object
|
|
|
30
30
|
class MaitaiChunk(ChatCompletionChunk):
|
|
31
31
|
|
|
32
32
|
def openai_dump_json(self):
|
|
33
|
+
for choice in self.choices:
|
|
34
|
+
if choice.delta and not choice.delta.role:
|
|
35
|
+
choice.delta.role = "assistant"
|
|
33
36
|
data = self.model_dump()
|
|
34
37
|
return openai_chat_types.ChatCompletionChunk.model_validate(
|
|
35
38
|
data
|
maitai/_utils.py
CHANGED
|
@@ -18,7 +18,7 @@ import openai.types.chat as openai_types
|
|
|
18
18
|
import pydantic
|
|
19
19
|
from openai.types import ChatModel
|
|
20
20
|
|
|
21
|
-
import
|
|
21
|
+
import maitai.models.chat as chat_types
|
|
22
22
|
from maitai._pydantic import (
|
|
23
23
|
is_basemodel_type,
|
|
24
24
|
is_dataclass_like_type,
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# codegen: frontend, sdk
|
|
2
|
+
from typing import Dict, List, Optional, Union
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel, Field
|
|
5
|
+
|
|
6
|
+
from maitai_models.config import Config
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ApplicationObjective(BaseModel):
|
|
10
|
+
id: Optional[int] = 0
|
|
11
|
+
date_created: Optional[Union[int, float]] = 0
|
|
12
|
+
application_id: int
|
|
13
|
+
objective_body: Dict[str, str] = Field(default_factory=dict)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ApplicationAction(BaseModel):
|
|
17
|
+
id: Optional[int] = -1
|
|
18
|
+
action_type: str
|
|
19
|
+
date_created: Optional[Union[int, float]] = 0
|
|
20
|
+
application_id: int
|
|
21
|
+
meta: Optional[Config] = None
|
|
22
|
+
last_activity: Optional[int] = 0
|
|
23
|
+
notifications_enabled: bool
|
|
24
|
+
prompt: Optional[str] = None
|
|
25
|
+
request_count: Optional[int] = 0
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class Application(BaseModel):
|
|
29
|
+
id: Optional[int] = -1
|
|
30
|
+
date_created: Optional[Union[int, float]] = 0
|
|
31
|
+
application_name: Optional[str] = None
|
|
32
|
+
application_ref_name: Optional[str] = None
|
|
33
|
+
company_id: int = 0
|
|
34
|
+
application_objective: Optional[ApplicationObjective] = None
|
|
35
|
+
state: Optional[str] = "ENABLED"
|
|
36
|
+
meta: Optional[Config] = Field(default_factory=Config)
|
|
37
|
+
action_types: List[ApplicationAction] = Field(default_factory=list)
|
|
38
|
+
last_activity: Optional[int] = 0
|
|
39
|
+
fault_notifications: Optional[bool] = False
|
|
40
|
+
session_summaries: Optional[bool] = False
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class ApplicationContext(BaseModel):
|
|
44
|
+
id: Optional[int] = -1
|
|
45
|
+
date_created: Optional[Union[int, float]] = 0
|
|
46
|
+
application_id: Optional[int] = None
|
|
47
|
+
context_body: Optional[str] = None
|
|
48
|
+
context_path: Optional[str] = None
|
|
49
|
+
context_type: Optional[str] = None
|
|
50
|
+
reference: Optional[str] = None
|
|
51
|
+
description: Optional[str] = None
|
maitai/models/chat.py
ADDED
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
# codegen: frontend, sdk
|
|
2
|
+
import uuid
|
|
3
|
+
from enum import Enum, IntEnum
|
|
4
|
+
from typing import Any, Dict, List, Optional, Union
|
|
5
|
+
|
|
6
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
7
|
+
|
|
8
|
+
from maitai_models import application as application_types
|
|
9
|
+
from maitai_models import config, key, metric, sentinel
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class EvaluationProvider(Enum):
|
|
13
|
+
GROQ = 0
|
|
14
|
+
OPENAI = 1
|
|
15
|
+
CEREBRAS = 2
|
|
16
|
+
MAITAI = 3
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class AzureParams(BaseModel):
|
|
20
|
+
endpoint: Optional[str] = None
|
|
21
|
+
deployment: Optional[str] = None
|
|
22
|
+
api_version: Optional[str] = None
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class ClientParams(BaseModel):
|
|
26
|
+
base_url: Optional[str] = None
|
|
27
|
+
default_headers: Optional[Dict[str, str]] = None
|
|
28
|
+
default_query: Optional[Dict[str, str]] = None
|
|
29
|
+
azure_params: Optional[AzureParams] = None
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ChatCompletionAuth(BaseModel):
|
|
33
|
+
openai_api_key: Optional[str] = ""
|
|
34
|
+
groq_api_key: Optional[str] = ""
|
|
35
|
+
override_api_key: Optional[str] = ""
|
|
36
|
+
anthropic_api_key: Optional[str] = ""
|
|
37
|
+
cerebras_api_key: Optional[str] = ""
|
|
38
|
+
azure_api_key: Optional[str] = ""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class Property(BaseModel):
|
|
42
|
+
type: Union[str, List[str]] = ""
|
|
43
|
+
description: Optional[str] = None
|
|
44
|
+
items: Optional["FunctionParameters"] = None
|
|
45
|
+
anyOf: Optional[List["Property"]] = None
|
|
46
|
+
|
|
47
|
+
def model_dump(self, **kwargs):
|
|
48
|
+
kwargs.setdefault("exclude_none", True)
|
|
49
|
+
return super().model_dump(**kwargs)
|
|
50
|
+
|
|
51
|
+
def model_dump_json(self, **kwargs):
|
|
52
|
+
kwargs.setdefault("exclude_none", True)
|
|
53
|
+
return super().model_dump_json(**kwargs)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class FunctionParameters(BaseModel):
|
|
57
|
+
type: Optional[str] = ""
|
|
58
|
+
description: Optional[str] = ""
|
|
59
|
+
properties: Optional[Dict[str, Property]] = {}
|
|
60
|
+
required: List[str] = Field(default_factory=list)
|
|
61
|
+
additionalProperties: Optional[bool] = False
|
|
62
|
+
enum: List[str] = Field(default_factory=list)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class Function(BaseModel):
|
|
66
|
+
name: str
|
|
67
|
+
description: Optional[str] = ""
|
|
68
|
+
parameters: Optional[FunctionParameters] = None
|
|
69
|
+
strict: Optional[bool] = False
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class Tool(BaseModel):
|
|
73
|
+
type: str
|
|
74
|
+
function: Function
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class JSONSchema(BaseModel):
|
|
78
|
+
name: str
|
|
79
|
+
strict: Optional[bool] = False
|
|
80
|
+
json_schema: FunctionParameters = Field(alias="schema")
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class ResponseFormat(BaseModel):
|
|
84
|
+
type: str
|
|
85
|
+
json_schema: Optional[JSONSchema] = None
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class StreamOptions(BaseModel):
|
|
89
|
+
include_usage: bool
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class ChatMessage(BaseModel):
|
|
93
|
+
role: str
|
|
94
|
+
content: Optional[str] = ""
|
|
95
|
+
name: Optional[str] = None
|
|
96
|
+
tool_calls: Optional[List["ToolCall"]] = Field(default_factory=list)
|
|
97
|
+
tool_call_id: Optional[str] = None
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class ToolCallFunction(BaseModel):
|
|
101
|
+
name: Optional[str] = None
|
|
102
|
+
arguments: str = ""
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
class ToolCall(BaseModel):
|
|
106
|
+
id: Optional[str] = None
|
|
107
|
+
type: Optional[str] = None
|
|
108
|
+
function: Optional[ToolCallFunction] = None
|
|
109
|
+
index: Optional[int] = None
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class ToolChoice(BaseModel):
|
|
113
|
+
type: str
|
|
114
|
+
function: Optional[Function] = None
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
class ChatCompletionParams(BaseModel):
|
|
118
|
+
messages: List[ChatMessage]
|
|
119
|
+
model: str
|
|
120
|
+
max_tokens: Optional[int] = None
|
|
121
|
+
response_format: Optional[ResponseFormat] = ResponseFormat(type="text")
|
|
122
|
+
temperature: Optional[float] = 0
|
|
123
|
+
top_p: Optional[float] = 1
|
|
124
|
+
stop: Optional[Union[str, List[str]]] = None
|
|
125
|
+
logprobs: Optional[bool] = False
|
|
126
|
+
top_logprobs: Optional[int] = None
|
|
127
|
+
n: Optional[int] = 1
|
|
128
|
+
seed: Optional[int] = None
|
|
129
|
+
stream: Optional[bool] = False
|
|
130
|
+
stream_options: Optional[StreamOptions] = None
|
|
131
|
+
logit_bias: Optional[Dict[str, float]] = None
|
|
132
|
+
presence_penalty: Optional[float] = 0
|
|
133
|
+
frequency_penalty: Optional[float] = 0
|
|
134
|
+
user: Optional[str] = None
|
|
135
|
+
tools: Optional[List[Tool]] = []
|
|
136
|
+
tool_choice: Optional[Union[ToolChoice, str]] = None
|
|
137
|
+
parallel_tool_calls: Optional[bool] = False
|
|
138
|
+
extra_headers: Optional[Dict[str, str]] = None
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class ChatCompletionRequest(BaseModel):
|
|
142
|
+
params: ChatCompletionParams = None
|
|
143
|
+
application_ref_name: str = None
|
|
144
|
+
session_id: str = None
|
|
145
|
+
reference_id: Optional[Union[str, int]] = None
|
|
146
|
+
action_type: str = None
|
|
147
|
+
company_id: Optional[int] = None
|
|
148
|
+
apply_corrections: Optional[bool] = False
|
|
149
|
+
id: Optional[int] = None
|
|
150
|
+
date_created: Optional[int] = None
|
|
151
|
+
request_id: Optional[str] = None
|
|
152
|
+
evaluation_enabled: Optional[bool] = True
|
|
153
|
+
auth_info: Optional[ChatCompletionAuth] = ChatCompletionAuth()
|
|
154
|
+
return_evaluation: Optional[bool] = False
|
|
155
|
+
error: Optional[str] = None
|
|
156
|
+
auth_keys: Optional[key.KeyMap] = key.KeyMap()
|
|
157
|
+
inference_location: Optional[str] = "SERVER"
|
|
158
|
+
context_retrieval_enabled: Optional[bool] = False
|
|
159
|
+
context_query: Optional[str] = None
|
|
160
|
+
context: Optional[str] = None
|
|
161
|
+
return_request: Optional[bool] = False
|
|
162
|
+
fallback_model: Optional[str] = None
|
|
163
|
+
user_id: Optional[str] = None
|
|
164
|
+
assistant: Optional[bool] = False
|
|
165
|
+
client_params: Optional[ClientParams] = None
|
|
166
|
+
metadata: Optional[Dict[str, Any]] = None
|
|
167
|
+
safe_mode: Optional[bool] = False
|
|
168
|
+
fallback_config: Optional[config.FallbackConfig] = None
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class FunctionCall(BaseModel):
|
|
172
|
+
arguments: Optional[str] = ""
|
|
173
|
+
name: Optional[str] = None
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class ChatCompletionMessage(BaseModel):
|
|
177
|
+
role: str
|
|
178
|
+
content: Optional[str] = ""
|
|
179
|
+
function_call: Optional[FunctionCall] = None
|
|
180
|
+
tool_calls: Optional[List[ToolCall]] = Field(default_factory=list)
|
|
181
|
+
refusal: Optional[str] = None
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class TopLogProbs(BaseModel):
|
|
185
|
+
token: str
|
|
186
|
+
logprob: float
|
|
187
|
+
bytes: List[int] = Field(default_factory=list)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class LogPropsContent(BaseModel):
|
|
191
|
+
token: str
|
|
192
|
+
logprob: float
|
|
193
|
+
bytes: List[int] = Field(default_factory=list)
|
|
194
|
+
top_logprobs: List[TopLogProbs] = Field(default_factory=list)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
class LogProbs(BaseModel):
|
|
198
|
+
content: List[LogPropsContent] = Field(default_factory=list)
|
|
199
|
+
refusal: List[LogPropsContent] = Field(default_factory=list)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
class ChatCompletionChoice(BaseModel):
|
|
203
|
+
index: Optional[int] = 0
|
|
204
|
+
message: Optional[ChatCompletionMessage] = None
|
|
205
|
+
logprobs: Optional[LogProbs] = None
|
|
206
|
+
finish_reason: Optional[str] = ""
|
|
207
|
+
is_correction: bool = False
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
class CompletionTokensDetails(BaseModel):
|
|
211
|
+
reasoning_tokens: Optional[int] = 0
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
class ChatCompletionUsage(BaseModel):
|
|
215
|
+
prompt_tokens: int = 0
|
|
216
|
+
completion_tokens: int = 0
|
|
217
|
+
total_tokens: int = 0
|
|
218
|
+
cost: float = 0
|
|
219
|
+
model: str = ""
|
|
220
|
+
completion_tokens_details: Optional[CompletionTokensDetails] = None
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
class EvaluateResult(BaseModel):
|
|
224
|
+
id: Optional[int] = -1
|
|
225
|
+
status: Optional[str] = None
|
|
226
|
+
description: Optional[str] = None
|
|
227
|
+
confidence: Optional[float] = None
|
|
228
|
+
meta: Dict[str, Any] = Field(default_factory=dict)
|
|
229
|
+
sentinel_id: Optional[int] = None
|
|
230
|
+
eval_time: Optional[int] = 0
|
|
231
|
+
date_created: Optional[Union[int, float]] = 0
|
|
232
|
+
usage: Optional[ChatCompletionUsage] = None
|
|
233
|
+
sentinel_name: Optional[str] = None
|
|
234
|
+
severity: Optional[int] = None
|
|
235
|
+
correction: Optional[str] = None
|
|
236
|
+
sentinel_directive_id: Optional[int] = None
|
|
237
|
+
evaluation_request_id: Optional[str] = None
|
|
238
|
+
request_id: Optional[str] = None
|
|
239
|
+
application_id: Optional[int] = None
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
class EvaluateResponse(BaseModel):
|
|
243
|
+
application_id: Optional[int] = None
|
|
244
|
+
session_id: Optional[str] = None
|
|
245
|
+
request_id: Optional[str] = None
|
|
246
|
+
evaluation_results: List[EvaluateResult] = Field(default_factory=list)
|
|
247
|
+
evaluation_request_id: Optional[str] = None
|
|
248
|
+
evaluate_summary: Optional[str] = None
|
|
249
|
+
evaluation_time: Optional[int] = None
|
|
250
|
+
reference_id: Optional[Union[str, int]] = None
|
|
251
|
+
id: Optional[int] = -1
|
|
252
|
+
date_created: Optional[Union[int, float]] = 0
|
|
253
|
+
correction: Optional[str] = None
|
|
254
|
+
meta: Dict[str, Any] = Field(default_factory=dict)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
class ChatCompletionResponse(BaseModel):
|
|
258
|
+
id: Optional[str] = None
|
|
259
|
+
object: str = "chat.completion"
|
|
260
|
+
created: int = 0
|
|
261
|
+
model: str = None
|
|
262
|
+
system_fingerprint: Optional[str] = None
|
|
263
|
+
choices: List[ChatCompletionChoice] = Field(default_factory=list)
|
|
264
|
+
usage: Optional[ChatCompletionUsage] = None
|
|
265
|
+
request_id: Optional[str] = None
|
|
266
|
+
evaluate_response: Optional[EvaluateResponse] = None
|
|
267
|
+
correction_applied: bool = False
|
|
268
|
+
first_token_time: float = 0
|
|
269
|
+
response_time: float = 0
|
|
270
|
+
chat_completion_request: Optional[ChatCompletionRequest] = None
|
|
271
|
+
service_tier: Optional[str] = None
|
|
272
|
+
input_safety_score: Optional[float] = 0
|
|
273
|
+
fallback_reason: Optional[str] = None
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class ChatStorageRequest(BaseModel):
|
|
277
|
+
chat_completion_request: ChatCompletionRequest
|
|
278
|
+
chat_completion_response: ChatCompletionResponse
|
|
279
|
+
evaluate_request: Optional["EvaluateRequest"] = None
|
|
280
|
+
timing_metrics: metric.RequestTimingMetric
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class Turn(BaseModel):
|
|
284
|
+
application: Optional[application_types.Application] = None
|
|
285
|
+
request: Optional[ChatCompletionRequest] = None
|
|
286
|
+
response: Optional[ChatCompletionResponse] = None
|
|
287
|
+
eval_request: Optional["EvaluateRequest"] = None
|
|
288
|
+
first: bool = False
|
|
289
|
+
last: bool = False
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
class ChoiceDelta(BaseModel):
|
|
293
|
+
content: Optional[str] = ""
|
|
294
|
+
role: Optional[str] = None
|
|
295
|
+
tool_calls: Optional[List[ToolCall]] = Field(default_factory=list)
|
|
296
|
+
function_call: Optional[FunctionCall] = None
|
|
297
|
+
refusal: Optional[str] = None
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class ChunkChoice(BaseModel):
|
|
301
|
+
delta: ChoiceDelta
|
|
302
|
+
finish_reason: Optional[str] = None
|
|
303
|
+
index: int = 0
|
|
304
|
+
logprobs: Optional[LogProbs] = None
|
|
305
|
+
is_correction: bool = False
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
class ChatCompletionChunk(BaseModel):
|
|
309
|
+
id: str = ""
|
|
310
|
+
choices: List[ChunkChoice] = Field(default_factory=list)
|
|
311
|
+
created: int = 0
|
|
312
|
+
model: str = ""
|
|
313
|
+
object: str = ""
|
|
314
|
+
system_fingerprint: str = ""
|
|
315
|
+
usage: Optional[ChatCompletionUsage] = None
|
|
316
|
+
evaluate_response: Optional[EvaluateResponse] = None
|
|
317
|
+
correction_applied: bool = False
|
|
318
|
+
service_tier: Optional[str] = None
|
|
319
|
+
input_safety_score: float = 0
|
|
320
|
+
request_id: str = ""
|
|
321
|
+
fallback_reason: Optional[str] = None
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class InferenceStreamResponse(BaseModel):
|
|
325
|
+
chat_completion_chunk: Optional[ChatCompletionChunk] = None
|
|
326
|
+
chat_completion_response: Optional[ChatCompletionResponse] = None
|
|
327
|
+
evaluate_response: Optional[EvaluateResponse] = None
|
|
328
|
+
error: Optional[str] = None
|
|
329
|
+
warning: Optional[str] = None
|
|
330
|
+
keep_alive: Optional[bool] = False
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
class EvaluationContentType(IntEnum):
|
|
334
|
+
MESSAGE = 0
|
|
335
|
+
TEXT = 1
|
|
336
|
+
PARTIAL = 2
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class EvaluateRequest(BaseModel):
|
|
340
|
+
model_config = ConfigDict(use_enum_values=True)
|
|
341
|
+
|
|
342
|
+
id: Optional[int] = None
|
|
343
|
+
date_created: Optional[int] = None
|
|
344
|
+
application_id: Optional[int] = None
|
|
345
|
+
application_ref_name: str = None
|
|
346
|
+
session_id: str = None
|
|
347
|
+
reference_id: Optional[Union[str, int]] = None
|
|
348
|
+
action_type: str = None
|
|
349
|
+
evaluation_content_type: Union[EvaluationContentType, str] = (
|
|
350
|
+
EvaluationContentType.MESSAGE
|
|
351
|
+
)
|
|
352
|
+
eval_results_set: Optional[EvaluateResponse] = None
|
|
353
|
+
company_id: Optional[int] = None
|
|
354
|
+
evaluation_context: Optional[str] = None
|
|
355
|
+
text_content: Optional[str] = None
|
|
356
|
+
message_content: List[Union[ChatMessage, ChatCompletionMessage]] = Field(
|
|
357
|
+
default_factory=list
|
|
358
|
+
)
|
|
359
|
+
request_id: Optional[str] = Field(default_factory=lambda: str(uuid.uuid4()))
|
|
360
|
+
sentinel_id: Optional[int] = None
|
|
361
|
+
fault_description: Optional[str] = None
|
|
362
|
+
chat_completion_request: Optional[ChatCompletionRequest] = None
|
|
363
|
+
chat_completion_response: Optional[ChatCompletionResponse] = None
|
|
364
|
+
timeout: float = 0
|
|
365
|
+
partial: Optional[str] = None
|
|
366
|
+
stream: Optional[bool] = False
|
|
367
|
+
apply_corrections: bool = False
|
|
368
|
+
timing_metrics: Optional[metric.RequestTimingMetric] = None
|
|
369
|
+
tools: List[Tool] = Field(default_factory=list)
|
|
370
|
+
sentinels: List[sentinel.Sentinel] = Field(default_factory=list)
|
|
371
|
+
evaluation_request_id: str = Field(default_factory=lambda: str(uuid.uuid4()))
|
|
372
|
+
json_schema: Optional[JSONSchema] = None
|
|
373
|
+
evaluation_run_id: Optional[int] = None
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
class SessionMessage(BaseModel):
|
|
377
|
+
id: Optional[int] = -1
|
|
378
|
+
application_id: int
|
|
379
|
+
company_id: Optional[int] = -1
|
|
380
|
+
application_action_id: int
|
|
381
|
+
session_id: str
|
|
382
|
+
request_id: str
|
|
383
|
+
role: str
|
|
384
|
+
message: ChatMessage
|
|
385
|
+
instructions: str
|
|
386
|
+
date_created: Optional[Union[int, float]] = 0
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
# This is needed because of the forward reference in Property
|
|
390
|
+
FunctionParameters.model_rebuild()
|
|
391
|
+
|
|
392
|
+
# Add this alongside the other model_rebuild() call
|
|
393
|
+
ChatMessage.model_rebuild() # Because ChatMessage has a forward reference to
|
|
394
|
+
|
|
395
|
+
ChatStorageRequest.model_rebuild()
|
|
396
|
+
|
|
397
|
+
Turn.model_rebuild()
|
maitai/models/config.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# codegen: frontend, sdk
|
|
2
|
+
from enum import IntEnum
|
|
3
|
+
from typing import Any, Dict, List, Optional, Union
|
|
4
|
+
|
|
5
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class InferenceLocations(IntEnum):
|
|
10
|
+
CLIENT = 0
|
|
11
|
+
SERVER = 1
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class FallbackConfig(BaseModel):
|
|
15
|
+
model: Optional[str] = None
|
|
16
|
+
strategy: Optional[Union[Literal["reactive", "first_response", "timeout"], str]] = (
|
|
17
|
+
"reactive"
|
|
18
|
+
)
|
|
19
|
+
timeout: Optional[float] = None
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class Config(BaseModel):
|
|
23
|
+
model_config = ConfigDict(use_enum_values=True)
|
|
24
|
+
|
|
25
|
+
inference_location: InferenceLocations = InferenceLocations.SERVER
|
|
26
|
+
evaluation_enabled: bool = True
|
|
27
|
+
apply_corrections: bool = False
|
|
28
|
+
model: str = "gpt-4o"
|
|
29
|
+
temperature: float = 1
|
|
30
|
+
streaming: bool = False
|
|
31
|
+
response_format: str = "text"
|
|
32
|
+
stop: Optional[Union[str, List[str]]] = None
|
|
33
|
+
logprobs: bool = False
|
|
34
|
+
max_tokens: Optional[int] = None
|
|
35
|
+
n: int = 1
|
|
36
|
+
presence_penalty: float = 0
|
|
37
|
+
frequency_penalty: float = 0
|
|
38
|
+
timeout: float = 0
|
|
39
|
+
context_retrieval_enabled: bool = False
|
|
40
|
+
fallback_model: Optional[str] = None
|
|
41
|
+
intent_stability: Optional[str] = None
|
|
42
|
+
safe_mode: bool = False
|
|
43
|
+
feedback: List[str] = Field(default_factory=list)
|
|
44
|
+
generating_sentinels: bool = False
|
|
45
|
+
sentinel_regeneration_enabled: bool = False
|
|
46
|
+
fallback_config: Optional[FallbackConfig] = None
|
|
47
|
+
extract_request_metadata: bool = False
|
|
48
|
+
metadata: Dict[str, Any] = Field(default_factory=dict)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class ModelConfig(BaseModel):
|
|
52
|
+
all_models: List[str] = Field(default_factory=list)
|
|
53
|
+
client_models: List[str] = Field(default_factory=list)
|
|
54
|
+
server_models: List[str] = Field(default_factory=list)
|
|
55
|
+
default_client_model: str
|
maitai/models/event.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# codegen: sdk
|
|
2
|
+
from typing import List, Optional, Union
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel, Field
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class Event(BaseModel):
|
|
8
|
+
id: Optional[int] = -1
|
|
9
|
+
date_created: Optional[Union[int, float]] = 0
|
|
10
|
+
event_type: str
|
|
11
|
+
event_key: str
|
|
12
|
+
event_data: str
|
|
13
|
+
source_ips: Union[List[str], str] = Field(default_factory=list)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# codegen: sdk
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel
|
|
5
|
+
|
|
6
|
+
from maitai_models.chat import (
|
|
7
|
+
ChatCompletionChunk,
|
|
8
|
+
ChatCompletionResponse,
|
|
9
|
+
EvaluateResponse,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class InferenceStreamResponse(BaseModel):
|
|
14
|
+
chat_completion_chunk: Optional[ChatCompletionChunk] = None
|
|
15
|
+
chat_completion_response: Optional[ChatCompletionResponse] = None
|
|
16
|
+
evaluate_response: Optional[EvaluateResponse] = None
|
|
17
|
+
error: Optional[str] = None
|
|
18
|
+
warning: Optional[str] = None
|
|
19
|
+
keep_alive: bool = False
|
maitai/models/key.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# codegen: frontend, sdk
|
|
2
|
+
from typing import Optional, Union
|
|
3
|
+
|
|
4
|
+
from pydantic import BaseModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class Key(BaseModel):
|
|
8
|
+
id: Optional[int] = 0
|
|
9
|
+
date_created: Optional[Union[int, float]] = 0
|
|
10
|
+
key_value: Optional[str] = None
|
|
11
|
+
company_id: int = 0
|
|
12
|
+
description: str = ""
|
|
13
|
+
owner: str = ""
|
|
14
|
+
type: str = ""
|
|
15
|
+
obfuscated: bool = False
|
|
16
|
+
key_map: Optional["KeyIdMap"] = None
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class KeyIdMap(BaseModel):
|
|
20
|
+
openai_api_key: Optional[int] = 0
|
|
21
|
+
groq_api_key: Optional[int] = 0
|
|
22
|
+
anthropic_api_key: Optional[int] = 0
|
|
23
|
+
cerebras_api_key: Optional[int] = 0
|
|
24
|
+
azure_api_key: Optional[int] = 0
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class KeyMap(BaseModel):
|
|
28
|
+
openai_api_key: Optional[Key] = None
|
|
29
|
+
groq_api_key: Optional[Key] = None
|
|
30
|
+
anthropic_api_key: Optional[Key] = None
|
|
31
|
+
cerebras_api_key: Optional[Key] = None
|
|
32
|
+
azure_api_key: Optional[Key] = None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
Key.model_rebuild()
|
maitai/models/metric.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# codegen: sdk
|
|
2
|
+
from humps import camelize
|
|
3
|
+
from pydantic import AliasGenerator, BaseModel, ConfigDict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class RequestTimingMetric(BaseModel):
|
|
7
|
+
time_request_start: float
|
|
8
|
+
time_pre_request: float = 0
|
|
9
|
+
time_first_chunk: float = 0
|
|
10
|
+
time_request_end: float = 0
|
|
11
|
+
request_id: str = ""
|
|
12
|
+
|
|
13
|
+
model_config = ConfigDict(
|
|
14
|
+
alias_generator=AliasGenerator(
|
|
15
|
+
validation_alias=camelize,
|
|
16
|
+
),
|
|
17
|
+
populate_by_name=True,
|
|
18
|
+
)
|
maitai/tools/__init__.py
CHANGED
maitai_common/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: maitai-python
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.8b2
|
|
4
4
|
Summary: Maitai SDK for Python
|
|
5
5
|
Home-page: https://docs.trymaitai.ai
|
|
6
6
|
Author: Maitai
|
|
@@ -14,6 +14,8 @@ Requires-Dist: openai>=1.34.0
|
|
|
14
14
|
Requires-Dist: httpx
|
|
15
15
|
Requires-Dist: aiohttp
|
|
16
16
|
Requires-Dist: websocket-client
|
|
17
|
+
Requires-Dist: pyhumps
|
|
18
|
+
Requires-Dist: pydantic>=2.0.0
|
|
17
19
|
Dynamic: author
|
|
18
20
|
Dynamic: author-email
|
|
19
21
|
Dynamic: classifier
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
maitai/__init__.py,sha256=1nR3g4MXSM5Xj-HKcDa2pdhQJMqIv-7HzNL8R5J4fEU,458
|
|
2
|
+
maitai/_config.py,sha256=ET1E4V3DfqbQ53JaIY-wgPo3c25ckJeKMgI3wre_WgE,7689
|
|
3
|
+
maitai/_config_listener_thread.py,sha256=UqjizdOY5aYjTZDsBLHFgj3bW7L316T32yGrCss_Ii8,908
|
|
4
|
+
maitai/_context.py,sha256=nX3Rrl3k8koSqipnY9yBbT1r_gxNhEVEmAWn9te9614,2436
|
|
5
|
+
maitai/_evaluator.py,sha256=ElgSft3kU4N7SEef_1p5j2aMoy3Xd6BpVlpkmhhMlMU,10395
|
|
6
|
+
maitai/_inference.py,sha256=6GNQhFSCqaMu-IqEMUBDf7AtG-PMepazPg_zjYSurMM,12693
|
|
7
|
+
maitai/_maitai.py,sha256=XNAprshtW7drihitECM8cYWgLynkuTO7ugCyQw6GoFc,25754
|
|
8
|
+
maitai/_maitai_async.py,sha256=jW_5s_6kg5Ed9W_h0y_f5ImcLYhTwUHzNMOLdsHTYag,25829
|
|
9
|
+
maitai/_maitai_client.py,sha256=_6M1WmIx7kZ4-fgL1s4_Ryv5gwQ5KTeCiw-zQqE1SO0,7852
|
|
10
|
+
maitai/_pydantic.py,sha256=8clflOhR7-6AeLFBzmsYO0aaQSAkp8KMuxsrYwPthaA,5683
|
|
11
|
+
maitai/_types.py,sha256=C_ifBii5KdQuxcNwFv8RKHOZVgIBuatDSwfYISDip_k,5069
|
|
12
|
+
maitai/_utils.py,sha256=2sAG6D-ZFcFUqiGzxMp76ySnS-8xpsIdB2iDdfbXg6s,10861
|
|
13
|
+
maitai/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
maitai/models/application.py,sha256=s-4ws2UlFu4Z6gbx_bH01InIn8jpdK6NyJI48SNOc9g,1626
|
|
15
|
+
maitai/models/chat.py,sha256=P611Gk1Q4vVnanBwe1h8-qWV3drReG3EOccEHKudrTY,12287
|
|
16
|
+
maitai/models/config.py,sha256=Xdyq2XrpX0gyhOj3uAY3wWHLQKGu4NXzP31z762qS2E,1717
|
|
17
|
+
maitai/models/event.py,sha256=GlOuoL-upwMyNKRshi4A7ocO0BG3PYJXIGXgcY9vrUE,325
|
|
18
|
+
maitai/models/inference.py,sha256=tSUFASGb7OH7P6wkVY8ALneHu2qti8hd20jrzh1rJlM,516
|
|
19
|
+
maitai/models/key.py,sha256=hRSMa1MIdFZ9PAgwiSE8Lqi05A9wnzhFhMNYN0sz9aM,864
|
|
20
|
+
maitai/models/metric.py,sha256=iL1FqaJ-3ii5pgY4cGZKp0nuQVG1XnBggopazQhGN_E,451
|
|
21
|
+
maitai/tools/__init__.py,sha256=BKx8o1oHR4XlqAzMJIyyMe13KzU1jchPwIYcLpYFk8E,4001
|
|
22
|
+
maitai_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
+
maitai_common/version.py,sha256=71LmYAmvj7gqOh1kK4pUN2jKn5iuZtP1FMkdpZEAL6Y,66
|
|
24
|
+
maitai_common/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
+
maitai_common/config/config_service.py,sha256=4DgOaMswfZhXOjJUInfxjJ9EW_m_7rhxH4_jIS6ALTc,954
|
|
26
|
+
maitai_common/processes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
+
maitai_common/processes/io_thread.py,sha256=Pqw-3Pz6rlJvK_6P5ytgGoXP7pymYQzuDhTGaeOSLW8,1995
|
|
28
|
+
maitai_common/processes/websocket_listener_thread.py,sha256=CaFtcHby8iEnjQNawGkvcKhr7S_pqvavW8gXw0YUjnM,3482
|
|
29
|
+
maitai_python-1.2.8b2.dist-info/METADATA,sha256=hJy42RhTFX4-sne1-MoLuYpUhCTpEWcCipIIuG6F82I,1703
|
|
30
|
+
maitai_python-1.2.8b2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
31
|
+
maitai_python-1.2.8b2.dist-info/top_level.txt,sha256=3uBDd_HUkDZhdPkUjbHJpoKMT3YoYszkUeOLIxgjzUo,21
|
|
32
|
+
maitai_python-1.2.8b2.dist-info/RECORD,,
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
maitai/__init__.py,sha256=1nR3g4MXSM5Xj-HKcDa2pdhQJMqIv-7HzNL8R5J4fEU,458
|
|
2
|
-
maitai/_config.py,sha256=p4w_NWpvbFXk4QkwR4gSvUOZz64hNwUIgMKaUXNthCI,7689
|
|
3
|
-
maitai/_config_listener_thread.py,sha256=Uu-exoZwEL3nxK9xQFJNcFsJ8IKeYrnzvmIVQwDMnVg,908
|
|
4
|
-
maitai/_context.py,sha256=um1SdNG4DgQIHkdqXuHtSyOv4BTLLC86JwVrB4remOM,2436
|
|
5
|
-
maitai/_evaluator.py,sha256=B6freSmE_-4i0WSBN6qiUtgsebgyzfBiUAgpI_YAVE4,10395
|
|
6
|
-
maitai/_inference.py,sha256=-IzIeg12RxYVXRJCTq3-ByM5EyCzkYOQEGIpPycja34,12693
|
|
7
|
-
maitai/_maitai.py,sha256=LCxYPQ5UXNyJR5ClHXrh-DYT5-jLtlIMCpycdKodafo,25754
|
|
8
|
-
maitai/_maitai_async.py,sha256=jWlxukhzEnZ5gh8Puy5d6QxfHZGHN4Adbp3NDuhE5K8,25829
|
|
9
|
-
maitai/_maitai_client.py,sha256=_6M1WmIx7kZ4-fgL1s4_Ryv5gwQ5KTeCiw-zQqE1SO0,7852
|
|
10
|
-
maitai/_pydantic.py,sha256=8clflOhR7-6AeLFBzmsYO0aaQSAkp8KMuxsrYwPthaA,5683
|
|
11
|
-
maitai/_types.py,sha256=Gzrs21igfzCV60XIk5OhOUPF3ylV8RjSQwREEtdW3dI,4930
|
|
12
|
-
maitai/_utils.py,sha256=0ZWmJ854jLd2GFVJOW3HoyLC2MgGJXFDYlMUv3_efT8,10861
|
|
13
|
-
maitai/tools/__init__.py,sha256=wpJSrPHWHKRtcldFy_tcZXDIPjQ3p1LJkzTevPs06lw,4001
|
|
14
|
-
maitai_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
maitai_common/version.py,sha256=0aooNNmcEVVgY51NsTY5wIh7qCdKu1t-jURVc9wFV6U,66
|
|
16
|
-
maitai_common/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
maitai_common/config/config_service.py,sha256=4DgOaMswfZhXOjJUInfxjJ9EW_m_7rhxH4_jIS6ALTc,954
|
|
18
|
-
maitai_common/processes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
maitai_common/processes/io_thread.py,sha256=Pqw-3Pz6rlJvK_6P5ytgGoXP7pymYQzuDhTGaeOSLW8,1995
|
|
20
|
-
maitai_common/processes/websocket_listener_thread.py,sha256=CaFtcHby8iEnjQNawGkvcKhr7S_pqvavW8gXw0YUjnM,3482
|
|
21
|
-
maitai_python-1.2.8b0.dist-info/METADATA,sha256=q_gmLV2GM1MKfTIu3Zgucc03FZdfetv1buvY_kq0LaI,1649
|
|
22
|
-
maitai_python-1.2.8b0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
23
|
-
maitai_python-1.2.8b0.dist-info/top_level.txt,sha256=3uBDd_HUkDZhdPkUjbHJpoKMT3YoYszkUeOLIxgjzUo,21
|
|
24
|
-
maitai_python-1.2.8b0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|