maitai-python 1.1.30b0__tar.gz → 1.1.31b0__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.
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/PKG-INFO +1 -1
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_inference.py +5 -2
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_utils.py +113 -52
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/tools/__init__.py +15 -13
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/version.py +1 -1
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/chat/__init__.py +18 -3
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/session/__init__.py +0 -1
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/PKG-INFO +1 -1
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/README.md +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_azure.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_config.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_config_listener_thread.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_context.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_evaluator.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_maitai.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_maitai_async.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_maitai_client.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai/_types.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/config/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/config/config_service.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/processes/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/processes/io_thread.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/processes/websocket_listener_thread.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/utils/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/utils/proto_utils.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_common/utils/types.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/annotation/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/application/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/backtest/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/billing/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/company/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/config/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/embedding/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/event/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/inference/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/key/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/metric/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/model/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/notification/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/rates/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/sandbox/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_gen/sentinel/__init__.py +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/SOURCES.txt +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/dependency_links.txt +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/requires.txt +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/top_level.txt +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/setup.cfg +0 -0
- {maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/setup.py +0 -0
|
@@ -135,7 +135,7 @@ class Inference(MaitaiClient):
|
|
|
135
135
|
headers=headers,
|
|
136
136
|
data=chat_request.to_json(casing=Casing.SNAKE),
|
|
137
137
|
stream=True,
|
|
138
|
-
timeout=timeout
|
|
138
|
+
timeout=timeout,
|
|
139
139
|
) as response:
|
|
140
140
|
response.raise_for_status()
|
|
141
141
|
for line in response.iter_lines():
|
|
@@ -168,7 +168,7 @@ class Inference(MaitaiClient):
|
|
|
168
168
|
try:
|
|
169
169
|
async with aiohttp.ClientSession(
|
|
170
170
|
connector=aiohttp.TCPConnector(ssl=False),
|
|
171
|
-
timeout=ClientTimeout(timeout
|
|
171
|
+
timeout=ClientTimeout(timeout) if timeout else None,
|
|
172
172
|
) as session:
|
|
173
173
|
async with session.post(
|
|
174
174
|
url, headers=headers, data=chat_request.to_json(casing=Casing.SNAKE)
|
|
@@ -285,3 +285,6 @@ class Inference(MaitaiClient):
|
|
|
285
285
|
if cls._session:
|
|
286
286
|
cls._session.close()
|
|
287
287
|
cls._session = None
|
|
288
|
+
|
|
289
|
+
def __del__(self):
|
|
290
|
+
self.close_session()
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import functools
|
|
2
2
|
import inspect
|
|
3
3
|
import sys
|
|
4
|
-
from typing import
|
|
4
|
+
from typing import (
|
|
5
|
+
Any,
|
|
6
|
+
Callable,
|
|
7
|
+
Dict,
|
|
8
|
+
Iterable,
|
|
9
|
+
List,
|
|
10
|
+
Optional,
|
|
11
|
+
Sequence,
|
|
12
|
+
TypeVar,
|
|
13
|
+
Union,
|
|
14
|
+
)
|
|
5
15
|
|
|
6
16
|
import openai
|
|
7
17
|
import openai.types.chat as openai_types
|
|
@@ -14,7 +24,7 @@ from maitai.tools import Tools
|
|
|
14
24
|
from maitai_common.utils.proto_utils import openai_messages_to_proto
|
|
15
25
|
from maitai_common.version import version
|
|
16
26
|
|
|
17
|
-
__version__ = f
|
|
27
|
+
__version__ = f"{version}_python_{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}"
|
|
18
28
|
|
|
19
29
|
CallableT = TypeVar("CallableT", bound=Callable[..., Any])
|
|
20
30
|
|
|
@@ -26,10 +36,10 @@ def required_args(*variants: Sequence[str]) -> Callable[[CallableT], CallableT]:
|
|
|
26
36
|
name
|
|
27
37
|
for name, param in params.items()
|
|
28
38
|
if param.kind
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
39
|
+
in {
|
|
40
|
+
param.POSITIONAL_ONLY,
|
|
41
|
+
param.POSITIONAL_OR_KEYWORD,
|
|
42
|
+
}
|
|
33
43
|
]
|
|
34
44
|
|
|
35
45
|
@functools.wraps(func)
|
|
@@ -53,7 +63,12 @@ def required_args(*variants: Sequence[str]) -> Callable[[CallableT], CallableT]:
|
|
|
53
63
|
else: # no break
|
|
54
64
|
if len(variants) > 1:
|
|
55
65
|
variations = human_join(
|
|
56
|
-
[
|
|
66
|
+
[
|
|
67
|
+
"("
|
|
68
|
+
+ human_join([quote(arg) for arg in variant], final="and")
|
|
69
|
+
+ ")"
|
|
70
|
+
for variant in variants
|
|
71
|
+
]
|
|
57
72
|
)
|
|
58
73
|
msg = f"Missing required arguments; Expected either {variations} arguments to be given"
|
|
59
74
|
else:
|
|
@@ -93,36 +108,52 @@ def quote(string: str) -> str:
|
|
|
93
108
|
return f"'{string}'"
|
|
94
109
|
|
|
95
110
|
|
|
96
|
-
def convert_openai_chat_completion(
|
|
111
|
+
def convert_openai_chat_completion(
|
|
112
|
+
chat: openai_types.ChatCompletion,
|
|
113
|
+
) -> chat_types.ChatCompletionResponse:
|
|
97
114
|
return chat_types.ChatCompletionResponse().from_dict(chat.to_dict())
|
|
98
115
|
|
|
99
116
|
|
|
100
|
-
def convert_open_ai_chat_completion_chunk(
|
|
117
|
+
def convert_open_ai_chat_completion_chunk(
|
|
118
|
+
chunk: openai_types.ChatCompletionChunk,
|
|
119
|
+
) -> chat_types.ChatCompletionChunk:
|
|
101
120
|
return chat_types.ChatCompletionChunk().from_dict(chunk.to_dict())
|
|
102
121
|
|
|
103
122
|
|
|
104
|
-
def get_chat_completion_params(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
def get_chat_completion_params(
|
|
124
|
+
*,
|
|
125
|
+
messages: Iterable[openai_types.ChatCompletionMessageParam],
|
|
126
|
+
model: Union[str, ChatModel],
|
|
127
|
+
frequency_penalty: Union[Optional[float], openai.NotGiven] = openai.NOT_GIVEN,
|
|
128
|
+
logit_bias: Union[Optional[Dict[str, int]], openai.NotGiven] = openai.NOT_GIVEN,
|
|
129
|
+
logprobs: Union[Optional[bool], openai.NotGiven] = openai.NOT_GIVEN,
|
|
130
|
+
max_tokens: Union[Optional[int], openai.NotGiven] = openai.NOT_GIVEN,
|
|
131
|
+
n: Union[Optional[int], openai.NotGiven] = openai.NOT_GIVEN,
|
|
132
|
+
presence_penalty: Union[Optional[float], openai.NotGiven] = openai.NOT_GIVEN,
|
|
133
|
+
response_format: Union[
|
|
134
|
+
openai_types.completion_create_params.ResponseFormat,
|
|
135
|
+
chat_types.ResponseFormat,
|
|
136
|
+
openai.NotGiven,
|
|
137
|
+
] = openai.NOT_GIVEN,
|
|
138
|
+
seed: Union[Optional[int], openai.NotGiven] = openai.NOT_GIVEN,
|
|
139
|
+
stop: Union[Union[Optional[str], List[str]], openai.NotGiven] = openai.NOT_GIVEN,
|
|
140
|
+
stream: Optional[bool] = False,
|
|
141
|
+
stream_options: Union[
|
|
142
|
+
Optional[openai_types.ChatCompletionStreamOptionsParam], openai.NotGiven
|
|
143
|
+
] = openai.NOT_GIVEN,
|
|
144
|
+
temperature: Union[Optional[float], openai.NotGiven] = openai.NOT_GIVEN,
|
|
145
|
+
tool_choice: Union[
|
|
146
|
+
openai_types.ChatCompletionToolChoiceOptionParam, openai.NotGiven
|
|
147
|
+
] = openai.NOT_GIVEN,
|
|
148
|
+
tools: Union[
|
|
149
|
+
Iterable[Union[openai_types.ChatCompletionToolParam, ToolFunction]],
|
|
150
|
+
openai.NotGiven,
|
|
151
|
+
] = openai.NOT_GIVEN,
|
|
152
|
+
top_logprobs: Union[Optional[int], openai.NotGiven] = openai.NOT_GIVEN,
|
|
153
|
+
top_p: Union[Optional[float], openai.NotGiven] = openai.NOT_GIVEN,
|
|
154
|
+
user: Union[str, openai.NotGiven] = openai.NOT_GIVEN,
|
|
155
|
+
parallel_tool_calls: Union[bool, openai.NotGiven] = openai.NOT_GIVEN,
|
|
156
|
+
) -> chat_types.ChatCompletionParams:
|
|
126
157
|
params = chat_types.ChatCompletionParams(
|
|
127
158
|
messages=openai_messages_to_proto(messages),
|
|
128
159
|
model=model,
|
|
@@ -130,20 +161,20 @@ def get_chat_completion_params(*,
|
|
|
130
161
|
)
|
|
131
162
|
# Define all optional parameters in a dictionary
|
|
132
163
|
optional_params = {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
164
|
+
"max_tokens": max_tokens,
|
|
165
|
+
"temperature": temperature,
|
|
166
|
+
"top_p": top_p,
|
|
167
|
+
"stop": stop,
|
|
168
|
+
"logprobs": logprobs,
|
|
169
|
+
"top_logprobs": top_logprobs,
|
|
170
|
+
"n": n,
|
|
171
|
+
"seed": seed,
|
|
172
|
+
"logit_bias": logit_bias,
|
|
173
|
+
"presence_penalty": presence_penalty,
|
|
174
|
+
"frequency_penalty": frequency_penalty,
|
|
175
|
+
"user": user,
|
|
176
|
+
"tool_choice": tool_choice,
|
|
177
|
+
"parallel_tool_calls": parallel_tool_calls,
|
|
147
178
|
}
|
|
148
179
|
# Set each parameter that is not marked as NOT_GIVEN
|
|
149
180
|
for param_name, value in optional_params.items():
|
|
@@ -151,12 +182,16 @@ def get_chat_completion_params(*,
|
|
|
151
182
|
setattr(params, param_name, value)
|
|
152
183
|
|
|
153
184
|
if stream_options != openai.NOT_GIVEN and stream_options:
|
|
154
|
-
params.stream_options = chat_types.StreamOptions(
|
|
185
|
+
params.stream_options = chat_types.StreamOptions(
|
|
186
|
+
include_usage=stream_options.get("include_usage")
|
|
187
|
+
)
|
|
155
188
|
|
|
156
189
|
if response_format != openai.NOT_GIVEN:
|
|
157
190
|
params.response_format = chat_types.ResponseFormat(type=response_format["type"])
|
|
158
191
|
if response_format.get("json_schema"):
|
|
159
|
-
params.response_format.json_schema = chat_types.JsonSchema().from_dict(
|
|
192
|
+
params.response_format.json_schema = chat_types.JsonSchema().from_dict(
|
|
193
|
+
response_format["json_schema"]
|
|
194
|
+
)
|
|
160
195
|
|
|
161
196
|
if tools != openai.NOT_GIVEN:
|
|
162
197
|
params.tools = []
|
|
@@ -167,24 +202,50 @@ def get_chat_completion_params(*,
|
|
|
167
202
|
if hasattr(tool, "__tool__"):
|
|
168
203
|
params.tools.append(tool.__tool__)
|
|
169
204
|
continue
|
|
205
|
+
|
|
170
206
|
function = tool.get("function")
|
|
207
|
+
properties = {}
|
|
208
|
+
for property_name, property_value in (
|
|
209
|
+
function.get("parameters", {}).get("properties").items()
|
|
210
|
+
):
|
|
211
|
+
if isinstance(property_value, dict):
|
|
212
|
+
properties[property_name] = chat_types.Property(
|
|
213
|
+
type=property_value.get("type"),
|
|
214
|
+
description=property_value.get("description"),
|
|
215
|
+
)
|
|
216
|
+
else:
|
|
217
|
+
properties[property_name] = property_value
|
|
171
218
|
params.tools.append(
|
|
172
219
|
chat_types.Tool(
|
|
173
220
|
type=tool["type"],
|
|
174
221
|
function=chat_types.Function(
|
|
175
222
|
name=function.get("name"),
|
|
176
223
|
description=function.get("description"),
|
|
177
|
-
parameters=
|
|
178
|
-
|
|
224
|
+
parameters=chat_types.FunctionParameters(
|
|
225
|
+
type=function.get("parameters", {}).get("type"),
|
|
226
|
+
properties=properties,
|
|
227
|
+
required=function.get("parameters", {}).get("required"),
|
|
228
|
+
additional_properties=function.get(
|
|
229
|
+
"parameters", {}
|
|
230
|
+
).get("additional_properties", False),
|
|
231
|
+
),
|
|
232
|
+
),
|
|
179
233
|
)
|
|
180
234
|
)
|
|
181
235
|
return params
|
|
182
236
|
|
|
183
237
|
|
|
184
|
-
def chat_completion_chunk_to_response(
|
|
185
|
-
|
|
238
|
+
def chat_completion_chunk_to_response(
|
|
239
|
+
final_chunk: chat_types.ChatCompletionChunk,
|
|
240
|
+
content: Union[str, List[chat_types.ChatMessage]],
|
|
241
|
+
):
|
|
242
|
+
chat_completion_response = chat_types.ChatCompletionResponse().from_dict(
|
|
243
|
+
final_chunk.to_dict(casing=Casing.SNAKE)
|
|
244
|
+
)
|
|
186
245
|
if isinstance(content, str):
|
|
187
|
-
chat_completion_response.choices[0].message = chat_types.ChatMessage(
|
|
246
|
+
chat_completion_response.choices[0].message = chat_types.ChatMessage(
|
|
247
|
+
role="assistant", content=content
|
|
248
|
+
)
|
|
188
249
|
if isinstance(content, List):
|
|
189
250
|
chat_completion_response.choices[0].message = content[-1]
|
|
190
251
|
return chat_completion_response
|
|
@@ -3,7 +3,7 @@ import json
|
|
|
3
3
|
import re
|
|
4
4
|
from typing import get_type_hints
|
|
5
5
|
|
|
6
|
-
from maitai_gen.chat import Function, Tool, ToolCall
|
|
6
|
+
from maitai_gen.chat import Function, FunctionParameters, Property, Tool, ToolCall
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Tools:
|
|
@@ -37,7 +37,9 @@ def tool(func=None, strict=True):
|
|
|
37
37
|
function_description = func.__doc__
|
|
38
38
|
if not function_description:
|
|
39
39
|
raise ValueError("Missing docstring for tool")
|
|
40
|
-
function_description =
|
|
40
|
+
function_description = (
|
|
41
|
+
function_description.split(":param")[0].split("Args:")[0].strip()
|
|
42
|
+
)
|
|
41
43
|
|
|
42
44
|
def wrapper(*args, **kwargs):
|
|
43
45
|
return func(*args, **kwargs)
|
|
@@ -59,10 +61,10 @@ def tool(func=None, strict=True):
|
|
|
59
61
|
param_type = type(param.default).__name__
|
|
60
62
|
else:
|
|
61
63
|
param_type = "string"
|
|
62
|
-
properties[param_name] =
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
properties[param_name] = Property(
|
|
65
|
+
type=_parse_type(param_type),
|
|
66
|
+
description=param_descriptions.get(param_name, ""),
|
|
67
|
+
)
|
|
66
68
|
required.append(param_name)
|
|
67
69
|
|
|
68
70
|
wrapper.__tool__ = Tool(
|
|
@@ -71,13 +73,13 @@ def tool(func=None, strict=True):
|
|
|
71
73
|
name=func.__name__,
|
|
72
74
|
strict=strict,
|
|
73
75
|
description=function_description,
|
|
74
|
-
parameters=
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
)
|
|
76
|
+
parameters=FunctionParameters(
|
|
77
|
+
type="object",
|
|
78
|
+
properties=properties,
|
|
79
|
+
required=required,
|
|
80
|
+
additional_properties=False,
|
|
81
|
+
),
|
|
82
|
+
),
|
|
81
83
|
)
|
|
82
84
|
return wrapper
|
|
83
85
|
|
|
@@ -147,12 +147,27 @@ class Tool(betterproto.Message):
|
|
|
147
147
|
class Function(betterproto.Message):
|
|
148
148
|
name: str = betterproto.string_field(1)
|
|
149
149
|
description: str = betterproto.string_field(2)
|
|
150
|
-
parameters:
|
|
151
|
-
3, betterproto.TYPE_STRING, betterproto.TYPE_STRING
|
|
152
|
-
)
|
|
150
|
+
parameters: "FunctionParameters" = betterproto.message_field(3)
|
|
153
151
|
strict: bool = betterproto.bool_field(4)
|
|
154
152
|
|
|
155
153
|
|
|
154
|
+
@dataclass(eq=False, repr=False)
|
|
155
|
+
class FunctionParameters(betterproto.Message):
|
|
156
|
+
type: str = betterproto.string_field(1)
|
|
157
|
+
description: str = betterproto.string_field(2)
|
|
158
|
+
properties: Dict[str, "Property"] = betterproto.map_field(
|
|
159
|
+
3, betterproto.TYPE_STRING, betterproto.TYPE_MESSAGE
|
|
160
|
+
)
|
|
161
|
+
required: List[str] = betterproto.string_field(4)
|
|
162
|
+
additional_properties: bool = betterproto.bool_field(5)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
@dataclass(eq=False, repr=False)
|
|
166
|
+
class Property(betterproto.Message):
|
|
167
|
+
type: str = betterproto.string_field(1)
|
|
168
|
+
description: str = betterproto.string_field(2)
|
|
169
|
+
|
|
170
|
+
|
|
156
171
|
@dataclass(eq=False, repr=False)
|
|
157
172
|
class JsonSchema(betterproto.Message):
|
|
158
173
|
name: str = betterproto.string_field(1)
|
|
@@ -29,7 +29,6 @@ class Session(betterproto.Message):
|
|
|
29
29
|
application_name: Optional[str] = betterproto.string_field(
|
|
30
30
|
4, optional=True, group="_application_name"
|
|
31
31
|
)
|
|
32
|
-
fully_corrected: bool = betterproto.bool_field(5)
|
|
33
32
|
summary: str = betterproto.string_field(6)
|
|
34
33
|
feedback: "SessionFeedback" = betterproto.enum_field(7)
|
|
35
34
|
reviewer: Dict[str, str] = betterproto.map_field(
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
{maitai_python-1.1.30b0 → maitai_python-1.1.31b0}/maitai_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|