maitai-python 1.0.1b2__py3-none-any.whl → 1.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.
maitai/_evaluator.py CHANGED
@@ -1,5 +1,5 @@
1
1
  import json
2
- import time
2
+ from typing import Iterable
3
3
 
4
4
  import aiohttp
5
5
  import requests
@@ -8,10 +8,12 @@ from betterproto import Casing
8
8
  from maitai._config import config
9
9
  from maitai._maitai_client import MaiTaiClient
10
10
  from maitai._types import EvaluateCallback
11
- from maitai_gen.chat import EvaluateRequest, EvaluateResponse, EvaluationContentType
11
+ from maitai_gen.chat import ChatCompletionChunk, EvaluateRequest, EvaluateResponse, EvaluationContentType
12
12
 
13
13
 
14
- def _get_content_type(content):
14
+ def _get_content_type(content, partial=None):
15
+ if partial is not None:
16
+ return EvaluateResponse.PARTIAL_CONTENT
15
17
  if isinstance(content, str):
16
18
  return EvaluationContentType.TEXT
17
19
  elif isinstance(content, list):
@@ -39,36 +41,48 @@ class Evaluator(MaiTaiClient):
39
41
  return None
40
42
 
41
43
  @classmethod
42
- def evaluate(cls, session_id, reference_id, action_type, content, content_type=None, application_id=None, application_ref_name=None, callback=None):
44
+ def evaluate(cls, session_id, reference_id, action_type, content, content_type=None, application_id=None, application_ref_name=None, callback=None, partial=None):
43
45
  if content_type is None:
44
- content_type = _get_content_type(content)
46
+ content_type = _get_content_type(content, partial)
45
47
  if content_type is None:
46
48
  raise Exception('Unable to automatically determine content_type')
47
49
  if application_id is None and application_ref_name is None:
48
50
  raise Exception('application_id or application_ref_name must be provided')
49
- eval_request: EvaluateRequest = cls.create_eval_request(application_id, application_ref_name, session_id, reference_id, action_type, content_type, content)
51
+ eval_request: EvaluateRequest = cls.create_eval_request(application_id, application_ref_name, session_id, reference_id, action_type, content_type, content, partial=partial)
50
52
  if callback is None:
51
53
  return cls.send_evaluation_request(eval_request)
52
54
  else:
53
55
  cls.run_async(cls.send_evaluation_request_async(eval_request, callback))
54
56
  return None
55
57
 
58
+ @classmethod
59
+ def evaluate_realtime(cls, session_id, reference_id, action_type, content_type, content, application_ref_name, partial, fault_description, sentinel_id):
60
+ eval_request: EvaluateRequest = cls.create_eval_request(None, application_ref_name, session_id, reference_id, action_type, content_type, content, partial=partial,
61
+ fault_description=fault_description)
62
+ eval_request.sentinel_id = sentinel_id
63
+ return cls.send_realtime_eval_request(eval_request)
64
+
56
65
  @classmethod
57
66
  def create_eval_request(cls, application_id, application_ref_name, session_id, reference_id, action_type,
58
- content_type, content):
67
+ content_type, content, partial=None, fault_description=None):
59
68
  eval_request: EvaluateRequest = EvaluateRequest()
60
69
  eval_request.evaluation_content_type = content_type
61
70
  if content_type == EvaluationContentType.TEXT:
62
71
  if type(content) != str:
63
72
  raise Exception('Content must be a string')
64
73
  eval_request.text_content = content
65
- if content_type == EvaluationContentType.MESSAGE:
74
+ elif content_type == EvaluationContentType.MESSAGE:
75
+ eval_request.message_content = content
76
+ elif content_type == EvaluationContentType.PARTIAL:
66
77
  eval_request.message_content = content
78
+ eval_request.text_content = partial
67
79
  eval_request.application_id = application_id
68
80
  eval_request.application_ref_name = application_ref_name
69
81
  eval_request.session_id = session_id
70
82
  eval_request.reference_id = reference_id
71
83
  eval_request.action_type = action_type
84
+ if fault_description:
85
+ eval_request.fault_description = fault_description
72
86
  return eval_request
73
87
 
74
88
  @classmethod
@@ -127,8 +141,6 @@ class Evaluator(MaiTaiClient):
127
141
 
128
142
  @classmethod
129
143
  async def send_evaluation_request_async(cls, eval_request: EvaluateRequest, callback: EvaluateCallback = None):
130
- start = time.time()
131
-
132
144
  async def send_request():
133
145
  host = config.maitai_host
134
146
  url = f'{host}/evaluation/request'
@@ -143,9 +155,6 @@ class Evaluator(MaiTaiClient):
143
155
  error_text = await response.text()
144
156
  print(f"Failed to send evaluation request. Status code: {response.status}. Error: {error_text}")
145
157
  return None
146
- else:
147
- print(f"Successfully sent evaluation request. Status code: {response.status}")
148
- print(time.time() - start)
149
158
  return await response.read()
150
159
 
151
160
  result = await send_request()
@@ -158,8 +167,6 @@ class Evaluator(MaiTaiClient):
158
167
 
159
168
  @classmethod
160
169
  def send_evaluation_request(cls, eval_request: EvaluateRequest) -> EvaluateResponse:
161
- start = time.time()
162
-
163
170
  def send_request():
164
171
  host = config.maitai_host
165
172
  url = f'{host}/evaluation/request'
@@ -172,9 +179,6 @@ class Evaluator(MaiTaiClient):
172
179
  if response.status_code != 200:
173
180
  print(f"Failed to send evaluation request. Status code: {response.status_code}. Error: {response.text}")
174
181
  return None
175
- else:
176
- print(f"Successfully sent evaluation request. Status code: {response.status_code}")
177
- print(time.time() - start)
178
182
  return response.content
179
183
 
180
184
  result = send_request()
@@ -273,3 +277,28 @@ class Evaluator(MaiTaiClient):
273
277
  print(f"An error occurred while sending application context for append: {e}")
274
278
 
275
279
  await send_context()
280
+
281
+ @classmethod
282
+ def send_realtime_eval_request(cls, eval_request: EvaluateRequest) -> Iterable[ChatCompletionChunk]:
283
+ def consume_stream():
284
+ host = config.maitai_host
285
+ url = f'{host}/evaluation/realtime'
286
+ headers = {
287
+ 'Content-Type': 'application/json',
288
+ 'x-api-key': config.api_key
289
+ }
290
+
291
+ response = requests.post(url, headers=headers, data=eval_request.to_json(casing=Casing.SNAKE), verify=False, stream=True)
292
+ if response.status_code != 200:
293
+ print(f"Failed to send realtime evaluation request. Status code: {response.status_code}. Error: {response.text}")
294
+ return
295
+ try:
296
+ for line in response.iter_lines():
297
+ if line:
298
+ yield line
299
+ finally:
300
+ response.close()
301
+
302
+ for resp in consume_stream():
303
+ inference_response: ChatCompletionChunk = ChatCompletionChunk().from_json(resp)
304
+ yield inference_response
maitai/_inference.py CHANGED
@@ -1,4 +1,3 @@
1
- import time
2
1
  from typing import AsyncIterable, Iterable
3
2
 
4
3
  import aiohttp
@@ -51,8 +50,6 @@ class Inference(MaiTaiClient):
51
50
 
52
51
  @classmethod
53
52
  def send_inference_request(cls, chat_request: ChatCompletionRequest) -> Iterable[InferenceStreamResponse]:
54
- start = time.time()
55
-
56
53
  def consume_stream():
57
54
  host = config.maitai_host
58
55
  url = f'{host}/chat/completions/serialized'
@@ -77,12 +74,9 @@ class Inference(MaiTaiClient):
77
74
  for resp in consume_stream():
78
75
  inference_response: InferenceStreamResponse = InferenceStreamResponse().from_json(resp)
79
76
  yield inference_response
80
- print(time.time() - start)
81
77
 
82
78
  @classmethod
83
79
  async def send_inference_request_async(cls, chat_request: ChatCompletionRequest, chunk_queue: ChunkQueue = None, async_chunk_queue: AsyncChunkQueue = None, evaluation_callback: EvaluateCallback = None):
84
- start = time.time()
85
-
86
80
  host = config.maitai_host
87
81
  url = f'{host}/chat/completions/serialized'
88
82
  headers = {
@@ -99,8 +93,6 @@ class Inference(MaiTaiClient):
99
93
  if async_chunk_queue:
100
94
  await async_chunk_queue.put("done")
101
95
  return
102
- else:
103
- print(f"Successfully sent evaluation request. Status code: {response.status}")
104
96
  last_item = None
105
97
  async for line in response.content:
106
98
  if line:
maitai/_openai.py CHANGED
@@ -11,8 +11,9 @@ from maitai._openai_types import Body, Headers, Query
11
11
  from maitai._types import EvaluateCallback
12
12
  from maitai._utils import convert_open_ai_chat_completion_chunk, convert_openai_chat_completion, get_chat_completion_params, process_chunk, process_stream_response, required_args, \
13
13
  set_completion_evaluation_response
14
+ from maitai_common.processes.stream_evaluation_thread import StreamEvaluationThread
14
15
  from maitai_common.utils.proto_utils import openai_messages_to_proto
15
- from maitai_gen.chat import ChatCompletionChunk, ChatCompletionResponse, ChatMessage, EvaluationContentType
16
+ from maitai_gen.chat import ChatCompletionChunk, ChatCompletionResponse, ChatMessage, EvaluateResponse, EvaluationContentType
16
17
  from maitai_gen.inference import InferenceStreamResponse
17
18
 
18
19
  DEFAULT_MAX_RETRIES = 2
@@ -172,7 +173,7 @@ class Completions:
172
173
 
173
174
  )
174
175
  if stream:
175
- return _process_stream(session_id, reference_id, action_type, application_ref_name, messages, response, callback)
176
+ return _process_openai_stream(session_id, reference_id, action_type, application_ref_name, messages, response, callback)
176
177
  else:
177
178
  maitai_completion = convert_openai_chat_completion(response)
178
179
  proto_messages = openai_messages_to_proto(messages)
@@ -192,22 +193,36 @@ class Completions:
192
193
  return maitai_completion
193
194
 
194
195
 
195
- def _process_stream(session_id: Union[str, int],
196
- reference_id: Union[str, int, None],
197
- action_type: str,
198
- application_ref_name: str,
199
- messages: Iterable[openai_chat_types.ChatCompletionMessageParam],
200
- stream: openai.Stream[openai_chat_types.ChatCompletionChunk],
201
- callback: Optional[EvaluateCallback] = None) -> Iterable[ChatCompletionChunk]:
196
+ def _process_openai_stream(session_id: Union[str, int],
197
+ reference_id: Union[str, int, None],
198
+ action_type: str,
199
+ application_ref_name: str,
200
+ messages: Iterable[openai_chat_types.ChatCompletionMessageParam],
201
+ stream: openai.Stream[openai_chat_types.ChatCompletionChunk],
202
+ callback: Optional[EvaluateCallback] = None) -> Iterable[ChatCompletionChunk]:
202
203
  full_body = ""
203
204
  proto_messages = openai_messages_to_proto(messages)
205
+ stream_eval_thread = StreamEvaluationThread()
206
+ stream_eval_thread.start()
204
207
  for chunk in stream:
208
+ if stream_eval_thread.output:
209
+ result: EvaluateResponse = stream_eval_thread.output
210
+ stream_eval_thread.terminate()
211
+ new_stream = maitai.Evaluator.evaluate_realtime(session_id, reference_id, action_type, EvaluationContentType.PARTIAL, proto_messages, application_ref_name, full_body,
212
+ result.evaluation_results[0].description, result.evaluation_results[0].sentinel_id)
213
+ for new_chunk in new_stream:
214
+ yield new_chunk
215
+ return
205
216
  maitai_chunk = convert_open_ai_chat_completion_chunk(chunk)
206
- full_body, result_chunk = process_chunk(session_id, reference_id, action_type, application_ref_name, proto_messages, full_body, maitai_chunk, callback)
217
+ new_full_body, result_chunk = process_chunk(session_id, reference_id, action_type, application_ref_name, proto_messages, full_body, maitai_chunk, callback)
218
+ if new_full_body != full_body:
219
+ stream_eval_thread.input.append((session_id, reference_id, action_type, EvaluationContentType.PARTIAL, proto_messages, application_ref_name, new_full_body))
220
+ full_body = new_full_body
207
221
  if result_chunk is not None:
208
222
  yield result_chunk
209
223
  break
210
224
  yield maitai_chunk
225
+ stream_eval_thread.terminate()
211
226
 
212
227
 
213
228
  def _process_inference_stream(stream: Iterable[InferenceStreamResponse], callback: EvaluateCallback) -> Iterable[ChatCompletionChunk]:
maitai/_openai_async.py CHANGED
@@ -11,8 +11,9 @@ from maitai._openai_types import Body, Headers, Query
11
11
  from maitai._types import EvaluateCallback
12
12
  from maitai._utils import convert_open_ai_chat_completion_chunk, convert_openai_chat_completion, get_chat_completion_params, process_chunk, process_stream_response, required_args, \
13
13
  set_completion_evaluation_response
14
+ from maitai_common.processes.stream_evaluation_thread import StreamEvaluationThread
14
15
  from maitai_common.utils.proto_utils import openai_messages_to_proto
15
- from maitai_gen.chat import ChatCompletionChunk, ChatCompletionResponse, ChatMessage, EvaluationContentType
16
+ from maitai_gen.chat import ChatCompletionChunk, ChatCompletionResponse, ChatMessage, EvaluateResponse, EvaluationContentType
16
17
  from maitai_gen.inference import InferenceStreamResponse
17
18
 
18
19
  DEFAULT_MAX_RETRIES = 2
@@ -203,13 +204,27 @@ async def _process_async_openai_stream(session_id: Union[str, int],
203
204
  callback: Optional[EvaluateCallback] = None) -> AsyncIterable[ChatCompletionChunk]:
204
205
  full_body = ""
205
206
  proto_messages = openai_messages_to_proto(messages)
207
+ stream_eval_thread = StreamEvaluationThread()
208
+ stream_eval_thread.start()
206
209
  async for chunk in stream:
210
+ if stream_eval_thread.output:
211
+ result: EvaluateResponse = stream_eval_thread.output
212
+ stream_eval_thread.terminate()
213
+ new_stream = maitai.Evaluator.evaluate_realtime(session_id, reference_id, action_type, EvaluationContentType.PARTIAL, proto_messages, application_ref_name, full_body,
214
+ result.evaluation_results[0].description, result.evaluation_results[0].sentinel_id)
215
+ for new_chunk in new_stream:
216
+ yield new_chunk
217
+ return
207
218
  maitai_chunk = convert_open_ai_chat_completion_chunk(chunk)
208
- full_body, result_chunk = process_chunk(session_id, reference_id, action_type, application_ref_name, proto_messages, full_body, maitai_chunk, callback)
219
+ new_full_body, result_chunk = process_chunk(session_id, reference_id, action_type, application_ref_name, proto_messages, full_body, maitai_chunk, callback)
220
+ if new_full_body != full_body:
221
+ stream_eval_thread.input.append((session_id, reference_id, action_type, EvaluationContentType.PARTIAL, proto_messages, application_ref_name, new_full_body))
222
+ full_body = new_full_body
209
223
  if result_chunk is not None:
210
224
  yield result_chunk
211
225
  break
212
226
  yield maitai_chunk
227
+ stream_eval_thread.terminate()
213
228
 
214
229
 
215
230
  async def _process_inference_stream_async(stream: AsyncIterable[InferenceStreamResponse], callback: EvaluateCallback) -> AsyncIterable[ChatCompletionChunk]:
@@ -32,7 +32,7 @@ class IOThread(Thread):
32
32
  try:
33
33
  self.process()
34
34
  except Exception as e:
35
- print(e, f'[{self.child_name}] Exception hit processing')
35
+ self.print(e, f'[{self.child_name}] Exception hit processing')
36
36
  finally:
37
37
  self.is_running = False
38
38
 
@@ -53,10 +53,13 @@ class IOThread(Thread):
53
53
  if self.timer_thread is not None:
54
54
  self.timer_thread.cancel()
55
55
  self.cleaned = True
56
- print(f'{self.child_name} cleaned up')
56
+ self.print(f'{self.child_name} cleaned up')
57
57
 
58
58
  def process(self):
59
59
  return None
60
60
 
61
61
  def initialize(self):
62
62
  self.initialized = True
63
+
64
+ def print(self, *args, **kwargs):
65
+ print(*args, **kwargs)
@@ -0,0 +1,23 @@
1
+ import maitai
2
+ from maitai_common.processes.io_thread import IOThread
3
+
4
+
5
+ class StreamEvaluationThread(IOThread):
6
+ def __init__(self):
7
+ super(StreamEvaluationThread, self).__init__(interval=0.01)
8
+ self.input = []
9
+ self.output = []
10
+
11
+ def process(self):
12
+ if len(self.input) == 0:
13
+ return
14
+ input_list = self.input
15
+ self.input = []
16
+ session_id, reference_id, action_type, content_type, proto_messages, application_ref_name, partial = input_list.pop()
17
+ result = maitai.Evaluator.evaluate(session_id, reference_id, action_type, proto_messages, content_type=content_type, application_ref_name=application_ref_name, partial=partial)
18
+ if len(result.evaluation_results) > 0:
19
+ if result.evaluation_results[0].status == "FAULT":
20
+ self.output = result
21
+
22
+ def print(self, *args, **kwargs):
23
+ pass
@@ -6,6 +6,7 @@
6
6
  from dataclasses import dataclass
7
7
  from typing import (
8
8
  TYPE_CHECKING,
9
+ AsyncIterator,
9
10
  Dict,
10
11
  List,
11
12
  Optional,
@@ -27,6 +28,7 @@ if TYPE_CHECKING:
27
28
  class EvaluationContentType(betterproto.Enum):
28
29
  MESSAGE = 0
29
30
  TEXT = 1
31
+ PARTIAL = 2
30
32
 
31
33
 
32
34
  @dataclass(eq=False, repr=False)
@@ -202,6 +204,8 @@ class EvaluateRequest(betterproto.Message):
202
204
  text_content: str = betterproto.string_field(9)
203
205
  message_content: List["ChatMessage"] = betterproto.message_field(12)
204
206
  request_id: str = betterproto.string_field(14)
207
+ sentinel_id: int = betterproto.int64_field(15)
208
+ fault_description: str = betterproto.string_field(16)
205
209
 
206
210
 
207
211
  @dataclass(eq=False, repr=False)
@@ -248,12 +252,36 @@ class EvaluationServiceStub(betterproto.ServiceStub):
248
252
  metadata=metadata,
249
253
  )
250
254
 
255
+ async def evaluate_realtime(
256
+ self,
257
+ evaluate_request: "EvaluateRequest",
258
+ *,
259
+ timeout: Optional[float] = None,
260
+ deadline: Optional["Deadline"] = None,
261
+ metadata: Optional["MetadataLike"] = None
262
+ ) -> AsyncIterator["ChatCompletionChunk"]:
263
+ async for response in self._unary_stream(
264
+ "/chat.EvaluationService/EvaluateRealtime",
265
+ evaluate_request,
266
+ ChatCompletionChunk,
267
+ timeout=timeout,
268
+ deadline=deadline,
269
+ metadata=metadata,
270
+ ):
271
+ yield response
272
+
251
273
 
252
274
  class EvaluationServiceBase(ServiceBase):
253
275
 
254
276
  async def evaluate(self, evaluate_request: "EvaluateRequest") -> "EvaluateResponse":
255
277
  raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
256
278
 
279
+ async def evaluate_realtime(
280
+ self, evaluate_request: "EvaluateRequest"
281
+ ) -> AsyncIterator["ChatCompletionChunk"]:
282
+ raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
283
+ yield ChatCompletionChunk()
284
+
257
285
  async def __rpc_evaluate(
258
286
  self, stream: "grpclib.server.Stream[EvaluateRequest, EvaluateResponse]"
259
287
  ) -> None:
@@ -261,6 +289,16 @@ class EvaluationServiceBase(ServiceBase):
261
289
  response = await self.evaluate(request)
262
290
  await stream.send_message(response)
263
291
 
292
+ async def __rpc_evaluate_realtime(
293
+ self, stream: "grpclib.server.Stream[EvaluateRequest, ChatCompletionChunk]"
294
+ ) -> None:
295
+ request = await stream.recv_message()
296
+ await self._call_rpc_handler_server_stream(
297
+ self.evaluate_realtime,
298
+ stream,
299
+ request,
300
+ )
301
+
264
302
  def __mapping__(self) -> Dict[str, grpclib.const.Handler]:
265
303
  return {
266
304
  "/chat.EvaluationService/Evaluate": grpclib.const.Handler(
@@ -269,4 +307,10 @@ class EvaluationServiceBase(ServiceBase):
269
307
  EvaluateRequest,
270
308
  EvaluateResponse,
271
309
  ),
310
+ "/chat.EvaluationService/EvaluateRealtime": grpclib.const.Handler(
311
+ self.__rpc_evaluate_realtime,
312
+ grpclib.const.Cardinality.UNARY_STREAM,
313
+ EvaluateRequest,
314
+ ChatCompletionChunk,
315
+ ),
272
316
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maitai-python
3
- Version: 1.0.1b2
3
+ Version: 1.0.2
4
4
  Summary: MaiTai SDK for Python
5
5
  Home-page: https://docs.trymaitai.ai
6
6
  Author: Maitai
@@ -1,30 +1,31 @@
1
1
  maitai/__init__.py,sha256=cz2wNmyYNHmGxRxerFYwXmqicre9rs86zlLJu2WFFpA,531
2
2
  maitai/_config.py,sha256=vIEc57aNF7FsZnfFPkrm3qN_tPpRCyoLaI4-ECjf4F0,2249
3
3
  maitai/_config_listener_thread.py,sha256=Wg8dh5K8ubmZMZJ3RWdtenGCFnhR0B5gzpqhhnMy6kM,495
4
- maitai/_evaluator.py,sha256=FEPydQDyBhsXsxOfKpg3gBxniLLLXdLav_lJYSrU5Ow,13120
5
- maitai/_inference.py,sha256=zhq3nzIylEH8ZOFs3ojrBoUGVjyt6tcSz2-7IK-blhQ,5946
4
+ maitai/_evaluator.py,sha256=X7ZByQqZtnCgPf1NpiX0UayOiziwqNwgY1-hMlKNQFc,14793
5
+ maitai/_inference.py,sha256=tIMHm5k0tgJNjMFpwb7SbzuUxpsERUceCPLRMbaZM8E,5720
6
6
  maitai/_maitai_client.py,sha256=s-OkiBAhDND2DpcUqvnfXiv_VAfnHk5FFwThJVbyz-w,1135
7
- maitai/_openai.py,sha256=aVPTWHIqznVocovoVS8A_DMp490qyBau4b7phiygB90,10429
8
- maitai/_openai_async.py,sha256=FHr99CW0JPOCQ9sL9hHCRy6TyWk7lCwI_NrxB4p76fQ,10729
7
+ maitai/_openai.py,sha256=TeZomocUdUGmnGZo1vMfgilOsCPRHcZtmAJBE_vqca4,11510
8
+ maitai/_openai_async.py,sha256=URzUEmFE5e1aRMWq4C-SY73BInhOYefMVIG4MKOQgC0,11754
9
9
  maitai/_openai_types.py,sha256=8OrDnYca0PSU4ICYeB0DGkVIV-sAh89_zRcJPu8h_i0,236
10
10
  maitai/_types.py,sha256=dOn2Sn1dojHHbwbJ_954cUb2ucD_HyjxnZz7Mnn0q_c,2324
11
11
  maitai/_utils.py,sha256=7ryPT44zJ9c6UyLU_dvJpsNDz9iFLPUMsm2utEW5uzU,10243
12
12
  maitai_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  maitai_common/processes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- maitai_common/processes/io_thread.py,sha256=vmI-T11Fz9SO2wbIepgChG6lnii39IMSOQb5096pXS4,1977
14
+ maitai_common/processes/io_thread.py,sha256=Ab4P1XtfL_7vvksC7zRVGLBBsiDX6cyweZNYHqcLJ14,2057
15
+ maitai_common/processes/stream_evaluation_thread.py,sha256=UFUfUWsQOUZhvIthVcL5BW_bgxKvIS8Nk9C1reMsfHs,894
15
16
  maitai_common/processes/websocket_listener_thread.py,sha256=gJg838HnG7QGki0CtNM1m86bQWBgtvL1rnCGrCRStGQ,3392
16
17
  maitai_common/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
18
  maitai_common/utils/proto_utils.py,sha256=MhJx_exWOIrroS13UDvmSon_AAJ0O6kbJ_5QApJBtWI,407
18
19
  maitai_gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
20
  maitai_gen/application/__init__.py,sha256=VLSzeOJinN_lJTDQT6pc52vauQF-GN3DB4QWZckC1XE,1364
20
- maitai_gen/chat/__init__.py,sha256=zAkFhey37vUHvAqQzgT4kTChk7hjQlMFWZgFBy9Ngl4,9847
21
+ maitai_gen/chat/__init__.py,sha256=tz_86t_sK_VFWNQVxP11HCeVAtqtReBXfShqOSy0dgw,11403
21
22
  maitai_gen/company/__init__.py,sha256=AuGIsQJzcxnkZZl5-4wEr1zWeI4d4fMXrASBu-OuXG0,641
22
23
  maitai_gen/inference/__init__.py,sha256=pn77lTsfX9JlEwEFTEVKFAdsbnmXS_o0jzYn20SIL1k,600
23
24
  maitai_gen/notification/__init__.py,sha256=2WaCP-EwmiPDkneJyGJnB1fpgriukmjHH2ZPgH-1XK0,1198
24
25
  maitai_gen/sandbox/__init__.py,sha256=fX4BSSo_Qbkh4jhk56E9r5SxO44XmwGh4O3OZCAcKtI,1460
25
26
  maitai_gen/sentinel/__init__.py,sha256=hWwzr0izFZ1qS6zhWo2ZuPS5bBCeLjxBcpamF3Xmbho,1518
26
27
  maitai_gen/session/__init__.py,sha256=riq0bcNozstLBCkAUmcNAj6RyX7gP5IIFcBO6CLSwqA,886
27
- maitai_python-1.0.1b2.dist-info/METADATA,sha256=Ws7yrQwZI1dBH4vNkTtjfZKvZWz_H6tGP2wNykyzKvM,1721
28
- maitai_python-1.0.1b2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
29
- maitai_python-1.0.1b2.dist-info/top_level.txt,sha256=-5U1krxnwlqB-AY7nEe29ZcNvwByNc-SnBe-mph-QjI,32
30
- maitai_python-1.0.1b2.dist-info/RECORD,,
28
+ maitai_python-1.0.2.dist-info/METADATA,sha256=dFBStI8_EvqV2O64sHzdsxTgnTe_9NPGtlxamWQcc20,1719
29
+ maitai_python-1.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
30
+ maitai_python-1.0.2.dist-info/top_level.txt,sha256=-5U1krxnwlqB-AY7nEe29ZcNvwByNc-SnBe-mph-QjI,32
31
+ maitai_python-1.0.2.dist-info/RECORD,,