scale-gp-beta 0.1.0a2__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.
Files changed (78) hide show
  1. scale_gp/__init__.py +96 -0
  2. scale_gp/_base_client.py +2058 -0
  3. scale_gp/_client.py +544 -0
  4. scale_gp/_compat.py +219 -0
  5. scale_gp/_constants.py +14 -0
  6. scale_gp/_exceptions.py +108 -0
  7. scale_gp/_files.py +123 -0
  8. scale_gp/_models.py +801 -0
  9. scale_gp/_qs.py +150 -0
  10. scale_gp/_resource.py +43 -0
  11. scale_gp/_response.py +830 -0
  12. scale_gp/_streaming.py +333 -0
  13. scale_gp/_types.py +217 -0
  14. scale_gp/_utils/__init__.py +57 -0
  15. scale_gp/_utils/_logs.py +25 -0
  16. scale_gp/_utils/_proxy.py +62 -0
  17. scale_gp/_utils/_reflection.py +42 -0
  18. scale_gp/_utils/_streams.py +12 -0
  19. scale_gp/_utils/_sync.py +86 -0
  20. scale_gp/_utils/_transform.py +402 -0
  21. scale_gp/_utils/_typing.py +149 -0
  22. scale_gp/_utils/_utils.py +414 -0
  23. scale_gp/_version.py +4 -0
  24. scale_gp/lib/.keep +4 -0
  25. scale_gp/pagination.py +83 -0
  26. scale_gp/py.typed +0 -0
  27. scale_gp/resources/__init__.py +103 -0
  28. scale_gp/resources/chat/__init__.py +33 -0
  29. scale_gp/resources/chat/chat.py +102 -0
  30. scale_gp/resources/chat/completions.py +1054 -0
  31. scale_gp/resources/completions.py +765 -0
  32. scale_gp/resources/files/__init__.py +33 -0
  33. scale_gp/resources/files/content.py +162 -0
  34. scale_gp/resources/files/files.py +558 -0
  35. scale_gp/resources/inference.py +210 -0
  36. scale_gp/resources/models.py +834 -0
  37. scale_gp/resources/question_sets.py +680 -0
  38. scale_gp/resources/questions.py +396 -0
  39. scale_gp/types/__init__.py +33 -0
  40. scale_gp/types/chat/__init__.py +8 -0
  41. scale_gp/types/chat/chat_completion.py +257 -0
  42. scale_gp/types/chat/chat_completion_chunk.py +240 -0
  43. scale_gp/types/chat/completion_create_params.py +156 -0
  44. scale_gp/types/chat/completion_create_response.py +11 -0
  45. scale_gp/types/completion.py +116 -0
  46. scale_gp/types/completion_create_params.py +108 -0
  47. scale_gp/types/file.py +30 -0
  48. scale_gp/types/file_create_params.py +13 -0
  49. scale_gp/types/file_delete_response.py +16 -0
  50. scale_gp/types/file_list.py +27 -0
  51. scale_gp/types/file_list_params.py +16 -0
  52. scale_gp/types/file_update_params.py +12 -0
  53. scale_gp/types/files/__init__.py +3 -0
  54. scale_gp/types/inference_create_params.py +25 -0
  55. scale_gp/types/inference_create_response.py +11 -0
  56. scale_gp/types/inference_model.py +167 -0
  57. scale_gp/types/inference_model_list.py +27 -0
  58. scale_gp/types/inference_response.py +14 -0
  59. scale_gp/types/inference_response_chunk.py +14 -0
  60. scale_gp/types/model_create_params.py +165 -0
  61. scale_gp/types/model_delete_response.py +16 -0
  62. scale_gp/types/model_list_params.py +20 -0
  63. scale_gp/types/model_update_params.py +161 -0
  64. scale_gp/types/question.py +68 -0
  65. scale_gp/types/question_create_params.py +59 -0
  66. scale_gp/types/question_list.py +27 -0
  67. scale_gp/types/question_list_params.py +16 -0
  68. scale_gp/types/question_set.py +106 -0
  69. scale_gp/types/question_set_create_params.py +115 -0
  70. scale_gp/types/question_set_delete_response.py +16 -0
  71. scale_gp/types/question_set_list.py +27 -0
  72. scale_gp/types/question_set_list_params.py +20 -0
  73. scale_gp/types/question_set_retrieve_params.py +12 -0
  74. scale_gp/types/question_set_update_params.py +23 -0
  75. scale_gp_beta-0.1.0a2.dist-info/METADATA +440 -0
  76. scale_gp_beta-0.1.0a2.dist-info/RECORD +78 -0
  77. scale_gp_beta-0.1.0a2.dist-info/WHEEL +4 -0
  78. scale_gp_beta-0.1.0a2.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,440 @@
1
+ Metadata-Version: 2.4
2
+ Name: scale-gp-beta
3
+ Version: 0.1.0a2
4
+ Summary: The official Python library for the SGPClient API
5
+ Project-URL: Homepage, https://github.com/scaleapi/sgp-python-beta
6
+ Project-URL: Repository, https://github.com/scaleapi/sgp-python-beta
7
+ Author-email: SGP Client <anish.agrawal@scale.com>
8
+ License-Expression: Apache-2.0
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Operating System :: MacOS
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Operating System :: POSIX
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.8
25
+ Requires-Dist: anyio<5,>=3.5.0
26
+ Requires-Dist: distro<2,>=1.7.0
27
+ Requires-Dist: httpx<1,>=0.23.0
28
+ Requires-Dist: pydantic<3,>=1.9.0
29
+ Requires-Dist: sniffio
30
+ Requires-Dist: typing-extensions<5,>=4.10
31
+ Description-Content-Type: text/markdown
32
+
33
+ # SGP Client Python API library
34
+
35
+ [![PyPI version](https://img.shields.io/pypi/v/scale-gp-beta.svg)](https://pypi.org/project/scale-gp-beta/)
36
+
37
+ The SGP Client Python library provides convenient access to the SGP Client REST API from any Python 3.8+
38
+ application. The library includes type definitions for all request params and response fields,
39
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
40
+
41
+ It is generated with [Stainless](https://www.stainlessapi.com/).
42
+
43
+ ## Documentation
44
+
45
+ The REST API documentation can be found on [docs.gp.scale.com](https://docs.gp.scale.com). The full API of this library can be found in [api.md](https://github.com/scaleapi/sgp-python-beta/tree/main/api.md).
46
+
47
+ ## Installation
48
+
49
+ ```sh
50
+ # install from PyPI
51
+ pip install --pre scale-gp-beta
52
+ ```
53
+
54
+ ## Usage
55
+
56
+ The full API of this library can be found in [api.md](https://github.com/scaleapi/sgp-python-beta/tree/main/api.md).
57
+
58
+ ```python
59
+ import os
60
+ from scale_gp import SGPClient
61
+
62
+ client = SGPClient(
63
+ api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
64
+ # defaults to "production".
65
+ environment="development",
66
+ account_id="My Account ID",
67
+ )
68
+
69
+ completion = client.chat.completions.create(
70
+ messages=[{"foo": "bar"}],
71
+ model="model",
72
+ top_k=2,
73
+ )
74
+ ```
75
+
76
+ While you can provide an `api_key` keyword argument,
77
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
78
+ to add `SGP_API_KEY="My API Key"` to your `.env` file
79
+ so that your API Key is not stored in source control.
80
+
81
+ ## Async usage
82
+
83
+ Simply import `AsyncSGPClient` instead of `SGPClient` and use `await` with each API call:
84
+
85
+ ```python
86
+ import os
87
+ import asyncio
88
+ from scale_gp import AsyncSGPClient
89
+
90
+ client = AsyncSGPClient(
91
+ api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
92
+ # defaults to "production".
93
+ environment="development",
94
+ account_id="My Account ID",
95
+ )
96
+
97
+
98
+ async def main() -> None:
99
+ completion = await client.chat.completions.create(
100
+ messages=[{"foo": "bar"}],
101
+ model="model",
102
+ top_k=2,
103
+ )
104
+
105
+
106
+ asyncio.run(main())
107
+ ```
108
+
109
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
110
+
111
+ ## Streaming responses
112
+
113
+ We provide support for streaming responses using Server Side Events (SSE).
114
+
115
+ ```python
116
+ from scale_gp import SGPClient
117
+
118
+ client = SGPClient(
119
+ account_id="My Account ID",
120
+ )
121
+
122
+ stream = client.chat.completions.create(
123
+ messages=[{"foo": "bar"}],
124
+ model="model",
125
+ stream=True,
126
+ )
127
+ for completion in stream:
128
+ print(completion)
129
+ ```
130
+
131
+ The async client uses the exact same interface.
132
+
133
+ ```python
134
+ from scale_gp import AsyncSGPClient
135
+
136
+ client = AsyncSGPClient(
137
+ account_id="My Account ID",
138
+ )
139
+
140
+ stream = await client.chat.completions.create(
141
+ messages=[{"foo": "bar"}],
142
+ model="model",
143
+ stream=True,
144
+ )
145
+ async for completion in stream:
146
+ print(completion)
147
+ ```
148
+
149
+ ## Using types
150
+
151
+ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
152
+
153
+ - Serializing back into JSON, `model.to_json()`
154
+ - Converting to a dictionary, `model.to_dict()`
155
+
156
+ Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
157
+
158
+ ## Handling errors
159
+
160
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `scale_gp.APIConnectionError` is raised.
161
+
162
+ When the API returns a non-success status code (that is, 4xx or 5xx
163
+ response), a subclass of `scale_gp.APIStatusError` is raised, containing `status_code` and `response` properties.
164
+
165
+ All errors inherit from `scale_gp.APIError`.
166
+
167
+ ```python
168
+ import scale_gp
169
+ from scale_gp import SGPClient
170
+
171
+ client = SGPClient(
172
+ account_id="My Account ID",
173
+ )
174
+
175
+ try:
176
+ client.chat.completions.create(
177
+ messages=[{"foo": "bar"}],
178
+ model="model",
179
+ )
180
+ except scale_gp.APIConnectionError as e:
181
+ print("The server could not be reached")
182
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
183
+ except scale_gp.RateLimitError as e:
184
+ print("A 429 status code was received; we should back off a bit.")
185
+ except scale_gp.APIStatusError as e:
186
+ print("Another non-200-range status code was received")
187
+ print(e.status_code)
188
+ print(e.response)
189
+ ```
190
+
191
+ Error codes are as follows:
192
+
193
+ | Status Code | Error Type |
194
+ | ----------- | -------------------------- |
195
+ | 400 | `BadRequestError` |
196
+ | 401 | `AuthenticationError` |
197
+ | 403 | `PermissionDeniedError` |
198
+ | 404 | `NotFoundError` |
199
+ | 422 | `UnprocessableEntityError` |
200
+ | 429 | `RateLimitError` |
201
+ | >=500 | `InternalServerError` |
202
+ | N/A | `APIConnectionError` |
203
+
204
+ ### Retries
205
+
206
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
207
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
208
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
209
+
210
+ You can use the `max_retries` option to configure or disable retry settings:
211
+
212
+ ```python
213
+ from scale_gp import SGPClient
214
+
215
+ # Configure the default for all requests:
216
+ client = SGPClient(
217
+ # default is 2
218
+ max_retries=0,
219
+ account_id="My Account ID",
220
+ )
221
+
222
+ # Or, configure per-request:
223
+ client.with_options(max_retries=5).chat.completions.create(
224
+ messages=[{"foo": "bar"}],
225
+ model="model",
226
+ )
227
+ ```
228
+
229
+ ### Timeouts
230
+
231
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
232
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
233
+
234
+ ```python
235
+ from scale_gp import SGPClient
236
+
237
+ # Configure the default for all requests:
238
+ client = SGPClient(
239
+ # 20 seconds (default is 1 minute)
240
+ timeout=20.0,
241
+ account_id="My Account ID",
242
+ )
243
+
244
+ # More granular control:
245
+ client = SGPClient(
246
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
247
+ account_id="My Account ID",
248
+ )
249
+
250
+ # Override per-request:
251
+ client.with_options(timeout=5.0).chat.completions.create(
252
+ messages=[{"foo": "bar"}],
253
+ model="model",
254
+ )
255
+ ```
256
+
257
+ On timeout, an `APITimeoutError` is thrown.
258
+
259
+ Note that requests that time out are [retried twice by default](https://github.com/scaleapi/sgp-python-beta/tree/main/#retries).
260
+
261
+ ## Advanced
262
+
263
+ ### Logging
264
+
265
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
266
+
267
+ You can enable logging by setting the environment variable `SGP_CLIENT_LOG` to `info`.
268
+
269
+ ```shell
270
+ $ export SGP_CLIENT_LOG=info
271
+ ```
272
+
273
+ Or to `debug` for more verbose logging.
274
+
275
+ ### How to tell whether `None` means `null` or missing
276
+
277
+ In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
278
+
279
+ ```py
280
+ if response.my_field is None:
281
+ if 'my_field' not in response.model_fields_set:
282
+ print('Got json like {}, without a "my_field" key present at all.')
283
+ else:
284
+ print('Got json like {"my_field": null}.')
285
+ ```
286
+
287
+ ### Accessing raw response data (e.g. headers)
288
+
289
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
290
+
291
+ ```py
292
+ from scale_gp import SGPClient
293
+
294
+ client = SGPClient(
295
+ account_id="My Account ID",
296
+ )
297
+ response = client.chat.completions.with_raw_response.create(
298
+ messages=[{
299
+ "foo": "bar"
300
+ }],
301
+ model="model",
302
+ )
303
+ print(response.headers.get('X-My-Header'))
304
+
305
+ completion = response.parse() # get the object that `chat.completions.create()` would have returned
306
+ print(completion)
307
+ ```
308
+
309
+ These methods return an [`APIResponse`](https://github.com/scaleapi/sgp-python-beta/tree/main/src/scale_gp/_response.py) object.
310
+
311
+ The async client returns an [`AsyncAPIResponse`](https://github.com/scaleapi/sgp-python-beta/tree/main/src/scale_gp/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
312
+
313
+ #### `.with_streaming_response`
314
+
315
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
316
+
317
+ To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
318
+
319
+ ```python
320
+ with client.chat.completions.with_streaming_response.create(
321
+ messages=[{"foo": "bar"}],
322
+ model="model",
323
+ ) as response:
324
+ print(response.headers.get("X-My-Header"))
325
+
326
+ for line in response.iter_lines():
327
+ print(line)
328
+ ```
329
+
330
+ The context manager is required so that the response will reliably be closed.
331
+
332
+ ### Making custom/undocumented requests
333
+
334
+ This library is typed for convenient access to the documented API.
335
+
336
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
337
+
338
+ #### Undocumented endpoints
339
+
340
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
341
+ http verbs. Options on the client will be respected (such as retries) when making this request.
342
+
343
+ ```py
344
+ import httpx
345
+
346
+ response = client.post(
347
+ "/foo",
348
+ cast_to=httpx.Response,
349
+ body={"my_param": True},
350
+ )
351
+
352
+ print(response.headers.get("x-foo"))
353
+ ```
354
+
355
+ #### Undocumented request params
356
+
357
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
358
+ options.
359
+
360
+ #### Undocumented response properties
361
+
362
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
363
+ can also get all the extra fields on the Pydantic model as a dict with
364
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
365
+
366
+ ### Configuring the HTTP client
367
+
368
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
369
+
370
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
371
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
372
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
373
+
374
+ ```python
375
+ import httpx
376
+ from scale_gp import SGPClient, DefaultHttpxClient
377
+
378
+ client = SGPClient(
379
+ # Or use the `SGP_CLIENT_BASE_URL` env var
380
+ base_url="http://my.test.server.example.com:8083",
381
+ http_client=DefaultHttpxClient(
382
+ proxy="http://my.test.proxy.example.com",
383
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
384
+ ),
385
+ account_id="My Account ID",
386
+ )
387
+ ```
388
+
389
+ You can also customize the client on a per-request basis by using `with_options()`:
390
+
391
+ ```python
392
+ client.with_options(http_client=DefaultHttpxClient(...))
393
+ ```
394
+
395
+ ### Managing HTTP resources
396
+
397
+ By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
398
+
399
+ ```py
400
+ from scale_gp import SGPClient
401
+
402
+ with SGPClient(
403
+ account_id="My Account ID",
404
+ ) as client:
405
+ # make requests here
406
+ ...
407
+
408
+ # HTTP client is now closed
409
+ ```
410
+
411
+ ## Versioning
412
+
413
+ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
414
+
415
+ 1. Changes that only affect static types, without breaking runtime behavior.
416
+ 2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
417
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
418
+
419
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
420
+
421
+ We are keen for your feedback; please open an [issue](https://www.github.com/scaleapi/sgp-python-beta/issues) with questions, bugs, or suggestions.
422
+
423
+ ### Determining the installed version
424
+
425
+ If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
426
+
427
+ You can determine the version that is being used at runtime with:
428
+
429
+ ```py
430
+ import scale_gp
431
+ print(scale_gp.__version__)
432
+ ```
433
+
434
+ ## Requirements
435
+
436
+ Python 3.8 or higher.
437
+
438
+ ## Contributing
439
+
440
+ See [the contributing documentation](https://github.com/scaleapi/sgp-python-beta/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,78 @@
1
+ scale_gp/__init__.py,sha256=evlLk5Y6LX7WN655LpwQOsnHT6_bwC37ggovhe1QpF4,2520
2
+ scale_gp/_base_client.py,sha256=8GoQtY-nOyi0APfOuv5KF-aN8psZDTLm0to44MHS-VY,68529
3
+ scale_gp/_client.py,sha256=IRFigmkY05I9pFLNVFIX7W2-JzDn6BbT71RPeDArqac,22596
4
+ scale_gp/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
+ scale_gp/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ scale_gp/_exceptions.py,sha256=95GM5CLFtP-QMjjmzsr5ajjZOyEZvyaETfGmqNPR8YM,3226
7
+ scale_gp/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
+ scale_gp/_models.py,sha256=PDLSNsn3Umxm3UMZPgyBiyN308rRzzPX6F9NO9FU2vs,28943
9
+ scale_gp/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ scale_gp/_resource.py,sha256=siZly_U6D0AOVLAzaOsqUdEFFzVMbWRj-ml30nvRp7E,1118
11
+ scale_gp/_response.py,sha256=Ng_D4r6-4gDwfgH6jd7TALIwaq6uQqj_p7L6tMlW5MQ,28803
12
+ scale_gp/_streaming.py,sha256=fcCSGXslmi2SmmkM05g2SACXHk2Mj7k1X5uMBu6U5s8,10112
13
+ scale_gp/_types.py,sha256=1s1QnchuKP0zB9frcXdFL0e9Sr5wwyeT_MG_Gfp126M,6145
14
+ scale_gp/_version.py,sha256=SzlRaCehM282kqHi3aRGa0XFsiBkpImH_43ddVkJ3Ak,168
15
+ scale_gp/pagination.py,sha256=6AAa8_V0wARlMd1MIXijugYbG1mILGc2tHVKbUQbZyQ,2595
16
+ scale_gp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ scale_gp/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
18
+ scale_gp/_utils/_logs.py,sha256=_3RvchyDgW5RRckTFpBeADUSa8W8D5PurLhxeMfigJE,782
19
+ scale_gp/_utils/_proxy.py,sha256=z3zsateHtb0EARTWKk8QZNHfPkqJbqwd1lM993LBwGE,1902
20
+ scale_gp/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
21
+ scale_gp/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
22
+ scale_gp/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
23
+ scale_gp/_utils/_transform.py,sha256=tsSFOIZ7iczaUsMSGBD_iSFOOdUyT2xtkcq1xyF0L9o,13986
24
+ scale_gp/_utils/_typing.py,sha256=nTJz0jcrQbEgxwy4TtAkNxuU0QHHlmc6mQtA6vIR8tg,4501
25
+ scale_gp/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
26
+ scale_gp/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
+ scale_gp/resources/__init__.py,sha256=CLsKitqMWj9CtyeCVAgOBuguN9NpztGeICZbOYO1qlg,3435
28
+ scale_gp/resources/completions.py,sha256=dk7Uvl8dnnieRWTJr2fhzJMZwOzGIjsYSw2GjaMWlCs,31653
29
+ scale_gp/resources/inference.py,sha256=_20eN0x0PZBPNLx2VrozQrJgRVjtlXPjeTpTcnuP0bU,7576
30
+ scale_gp/resources/models.py,sha256=lUAbtJE_FPbm-vYXz34Kl1-ir0Kcy5lT_x5VC31NT5o,32202
31
+ scale_gp/resources/question_sets.py,sha256=X9eGII0Nh2jP7PTU86wLB6Blj0QIvYMJWUJm0D76QIU,25923
32
+ scale_gp/resources/questions.py,sha256=XP-PJoGyGTIlNkCMhmBAUbHp2m4yT81ofBnVds4o0Jg,14835
33
+ scale_gp/resources/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
34
+ scale_gp/resources/chat/chat.py,sha256=4OG_TrwVqYvV-7Ha8Nbc6iuXQuys9wKXgkxYmE6p6jk,3672
35
+ scale_gp/resources/chat/completions.py,sha256=NlowDMqoS2OAme1LzcYecxiIz9-DTRtscTU-iNycpWg,47067
36
+ scale_gp/resources/files/__init__.py,sha256=VgAtqUimN5Kf_-lmEaNBnu_ApGegKsJQ1zNf-42MXFA,1002
37
+ scale_gp/resources/files/content.py,sha256=oJxb-28ZOUBgzE_MiAaJOcKFmtlB-N5APdhfZBNJna8,5762
38
+ scale_gp/resources/files/files.py,sha256=M8OdZoIi3fFjJL7oIn8w9TD6TVcASCMy1Ze1YZRbPMo,20530
39
+ scale_gp/types/__init__.py,sha256=0AA_yRFLEjX9VKsjiY3lEGjDweKuydLZnJxNoE2NXjQ,2202
40
+ scale_gp/types/completion.py,sha256=5eewo25sdqL4vutqvE8wmugE0Cw6YLzZ0_AD6yjP9NM,3259
41
+ scale_gp/types/completion_create_params.py,sha256=LE9vna29Kbh7E8qUq7EhQbcu7YuCF_h663maKtzOnhk,3063
42
+ scale_gp/types/file.py,sha256=Xkha0eSr1q6hkwjE9e2XNgk8kuHNoTEe1LXNhz6o-1k,528
43
+ scale_gp/types/file_create_params.py,sha256=KpXv6JCbd8BlgceTmBTewxOky2JTJaTW3mcGiVVU7wE,317
44
+ scale_gp/types/file_delete_response.py,sha256=lOsiaw8qrUOnH7smxb27-n7M4D1chfXlAUaMTRmdldY,336
45
+ scale_gp/types/file_list.py,sha256=Ckj6RZNvIcrSeNg3NWbwyj92uezu4v5_6J4I4M0mjdA,637
46
+ scale_gp/types/file_list_params.py,sha256=NkyOFeSJOTcPKd-JQnYa52KOEhEOJF-aU2ycsp3Zmds,353
47
+ scale_gp/types/file_update_params.py,sha256=cZAz43aIXmc0jOz-uKWDsZIJx24NN4t9kQ2XDORvQ-Q,297
48
+ scale_gp/types/inference_create_params.py,sha256=lpdMjG-ufUDpH8bGPbt2klG0I9Q3o374WrqHBjEpPwE,665
49
+ scale_gp/types/inference_create_response.py,sha256=JgoDjN5B8zRUpOXXasD97vFKVN7A6QHKz_PN64pKB6s,390
50
+ scale_gp/types/inference_model.py,sha256=6VL2E93OLOIIFix894Hu5jlwpuKUGPydBLO8puztlJI,4268
51
+ scale_gp/types/inference_model_list.py,sha256=I5qlOvpe-kX2HUp-C0h47Na0w6tRfZiC5wGCJ_KMxUk,688
52
+ scale_gp/types/inference_response.py,sha256=PIX9ihGJ6IP6D6i8gk3o_mbSLy9fvRwZdGyICQKh-q8,337
53
+ scale_gp/types/inference_response_chunk.py,sha256=UIw0gVwnqtQKPTH3QAW9UYVlD0lBz7av-EzcMqF7xgg,353
54
+ scale_gp/types/model_create_params.py,sha256=K04FNqloYYTwffMHnNLRnrPNOKPgG70R6xKXZzR3Uu0,3484
55
+ scale_gp/types/model_delete_response.py,sha256=fSpTChRLHPOoc9SJbkS4wcLxVOc3kKBOya8wkGow5pY,339
56
+ scale_gp/types/model_list_params.py,sha256=VeKvA7yHJqPE2lO_TEBDEy3lnN4j8FQYrTbVaECfqfQ,508
57
+ scale_gp/types/model_update_params.py,sha256=RFXvs-EIDHmNO-fnPB8H6B9DlK6bYVsiwFDMPPFHGII,3701
58
+ scale_gp/types/question.py,sha256=aETwjezMGu6hxG9wCa9uBM2H0d9xKRIWu1t2S01bfdw,1597
59
+ scale_gp/types/question_create_params.py,sha256=EqXkbj9zx5M8GPpGVv0XChE-jaxSUHR_UwiyCwsOVZ8,1517
60
+ scale_gp/types/question_list.py,sha256=lk4GWhnnThcqnwmbxUNq07vqyXS8ToUYRp4nf7YctGs,657
61
+ scale_gp/types/question_list_params.py,sha256=vf0ADgkIyuYiye4ySEvJSwj4wkwfPJUPHh0lIE77s_k,361
62
+ scale_gp/types/question_set.py,sha256=QMhZ9mIzkzkzITTHFgWlWgHPP4CWTt0v3M9TZc2_VFY,2525
63
+ scale_gp/types/question_set_create_params.py,sha256=fb_DmwtOj4q61cbP-0v5Ckq76tT-cbQEyRKj8TkHf7c,3785
64
+ scale_gp/types/question_set_delete_response.py,sha256=WfKpVppIGoBG96_CxFmD01QLsj7iAOuG1DJug3l4eF4,358
65
+ scale_gp/types/question_set_list.py,sha256=GDZWcjbLARtLSHZiCGbwdcXQe4inaSfddxu8mgSnAzQ,673
66
+ scale_gp/types/question_set_list_params.py,sha256=omaQ4bD-Zh_CvMvul9O0-tPU18C888QTC6Q9v5tlJkU,449
67
+ scale_gp/types/question_set_retrieve_params.py,sha256=NUXBXehGZDxkaqYHke-aJRXp_YITeN6Hr3cjv95ssDM,334
68
+ scale_gp/types/question_set_update_params.py,sha256=znfOyD45Fhsu6oCw1IrjSSvcYrRLXI6WbWVxnulSSlc,691
69
+ scale_gp/types/chat/__init__.py,sha256=DA0PFPt0oaPb25RI7Cs3RQEJfDLg5-qBiU8l0S_3nnw,443
70
+ scale_gp/types/chat/chat_completion.py,sha256=MswoiGtEb_ik1OHkk6k4jrpcH4lqmOdnIXLnGZJy7wM,7314
71
+ scale_gp/types/chat/chat_completion_chunk.py,sha256=6anUxR5cLdhEhhSgjh3tFbH_7crpD9dktsAnrBLxykQ,7047
72
+ scale_gp/types/chat/completion_create_params.py,sha256=Y7vJNvNM4Sov77l55aS5YtyRnrf7isediu3nKr6YE-A,4505
73
+ scale_gp/types/chat/completion_create_response.py,sha256=0OhfoJW8azVRrZdXRRMuiJ7kEEeMDnKScxrr3sayzDo,374
74
+ scale_gp/types/files/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
75
+ scale_gp_beta-0.1.0a2.dist-info/METADATA,sha256=fKbS0YgTPDY0yEBL4FRowkF-u2V-jADZ42BA_QZnaCM,14170
76
+ scale_gp_beta-0.1.0a2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
77
+ scale_gp_beta-0.1.0a2.dist-info/licenses/LICENSE,sha256=bjx34Ru3J05hEqirGarDDOMD2C3139VyMKWaOCBU-tY,11340
78
+ scale_gp_beta-0.1.0a2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any