tamar-model-client 0.2.0__py3-none-any.whl → 0.2.1__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.
- tamar_model_client/schemas/inputs.py +7 -2
- {tamar_model_client-0.2.0.dist-info → tamar_model_client-0.2.1.dist-info}/METADATA +1 -1
- {tamar_model_client-0.2.0.dist-info → tamar_model_client-0.2.1.dist-info}/RECORD +5 -5
- {tamar_model_client-0.2.0.dist-info → tamar_model_client-0.2.1.dist-info}/WHEEL +0 -0
- {tamar_model_client-0.2.0.dist-info → tamar_model_client-0.2.1.dist-info}/top_level.txt +0 -0
@@ -137,10 +137,12 @@ class OpenAIImagesInput(BaseModel):
|
|
137
137
|
n: Optional[int] | NotGiven = NOT_GIVEN
|
138
138
|
output_compression: Optional[int] | NotGiven = NOT_GIVEN
|
139
139
|
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
|
140
|
+
partial_images: Optional[int] | NotGiven = NOT_GIVEN,
|
140
141
|
quality: Literal["standard", "hd"] | NotGiven = NOT_GIVEN
|
141
142
|
response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
|
142
143
|
size: Optional[Literal[
|
143
144
|
"auto", "1024x1024", "1536x1024", "1024x1536", "256x256", "512x512", "1792x1024", "1024x1792"]] | NotGiven = NOT_GIVEN
|
145
|
+
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
144
146
|
style: Optional[Literal["vivid", "natural"]] | NotGiven = NOT_GIVEN
|
145
147
|
user: str | NotGiven = NOT_GIVEN
|
146
148
|
extra_headers: Headers | None = None
|
@@ -157,15 +159,18 @@ class OpenAIImagesEditInput(BaseModel):
|
|
157
159
|
image: Union[FileTypes, List[FileTypes]]
|
158
160
|
prompt: str
|
159
161
|
background: Optional[Literal["transparent", "opaque", "auto"]] | NotGiven = NOT_GIVEN
|
162
|
+
input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN,
|
160
163
|
mask: FileTypes | NotGiven = NOT_GIVEN
|
161
164
|
model: Union[str, ImageModel, None] | NotGiven = NOT_GIVEN
|
162
165
|
n: Optional[int] | NotGiven = NOT_GIVEN
|
166
|
+
output_compression: Optional[int] | NotGiven = NOT_GIVEN,
|
167
|
+
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN,
|
168
|
+
partial_images: Optional[int] | NotGiven = NOT_GIVEN,
|
163
169
|
quality: Optional[Literal["standard", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
164
170
|
response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
|
165
171
|
size: Optional[Literal["256x256", "512x512", "1024x1024", "1536x1024", "1024x1536", "auto"]] | NotGiven = NOT_GIVEN
|
172
|
+
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
|
166
173
|
user: str | NotGiven = NOT_GIVEN
|
167
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
168
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
169
174
|
extra_headers: Headers | None = None
|
170
175
|
extra_query: Query | None = None
|
171
176
|
extra_body: Body | None = None
|
@@ -24,7 +24,7 @@ tamar_model_client/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
24
24
|
tamar_model_client/generated/model_service_pb2.py,sha256=RI6wNSmgmylzWPedFfPxx938UzS7kcPR58YTzYshcL8,3066
|
25
25
|
tamar_model_client/generated/model_service_pb2_grpc.py,sha256=k4tIbp3XBxdyuOVR18Ung_4SUryONB51UYf_uUEl6V4,5145
|
26
26
|
tamar_model_client/schemas/__init__.py,sha256=AxuI-TcvA4OMTj2FtK4wAItvz9LrK_293pu3cmMLE7k,394
|
27
|
-
tamar_model_client/schemas/inputs.py,sha256=
|
27
|
+
tamar_model_client/schemas/inputs.py,sha256=vrBym9ywj0Zp9vegp-t6EWDnBiI_bAIQVWYhOY7Vh1A,14892
|
28
28
|
tamar_model_client/schemas/outputs.py,sha256=M_fcqUtXPJnfiLabHlyA8BorlC5pYkf5KLjXO1ysKIQ,1031
|
29
29
|
tests/__init__.py,sha256=kbmImddLDwdqlkkmkyKtl4bQy_ipe-R8eskpaBylU9w,38
|
30
30
|
tests/stream_hanging_analysis.py,sha256=W3W48IhQbNAR6-xvMpoWZvnWOnr56CTaH4-aORNBuD4,14807
|
@@ -32,7 +32,7 @@ tests/test_circuit_breaker.py,sha256=nhEBnyXFjIYjRWlUdu7Z9PnPq48ypbBK6fxN6deHedw
|
|
32
32
|
tests/test_google_azure_final.py,sha256=Cx2lfnoj48_7pUjpCYbrx6OLJF4cI79McV24_EYt_8s,55093
|
33
33
|
tests/test_logging_issue.py,sha256=JTMbotfHpAEPMBj73pOwxPn-Zn4QVQJX6scMz48FRDQ,2427
|
34
34
|
tests/test_simple.py,sha256=Xf0U-J9_xn_LzUsmYu06suK0_7DrPeko8OHoHldsNxE,7169
|
35
|
-
tamar_model_client-0.2.
|
36
|
-
tamar_model_client-0.2.
|
37
|
-
tamar_model_client-0.2.
|
38
|
-
tamar_model_client-0.2.
|
35
|
+
tamar_model_client-0.2.1.dist-info/METADATA,sha256=sB0xQbFo6EAeT8ALLXbE9HEB4sQz9u8fdJMswLKMnAQ,41309
|
36
|
+
tamar_model_client-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
37
|
+
tamar_model_client-0.2.1.dist-info/top_level.txt,sha256=f1I-S8iWN-cgv4gB8gxRg9jJOTJMumvm4oGKVPfGg6A,25
|
38
|
+
tamar_model_client-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|