relaxai 0.0.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.

Potentially problematic release.


This version of relaxai might be problematic. Click here for more details.

Files changed (50) hide show
  1. relaxai/__init__.py +90 -0
  2. relaxai/_base_client.py +1985 -0
  3. relaxai/_client.py +437 -0
  4. relaxai/_compat.py +219 -0
  5. relaxai/_constants.py +14 -0
  6. relaxai/_exceptions.py +108 -0
  7. relaxai/_files.py +123 -0
  8. relaxai/_models.py +805 -0
  9. relaxai/_qs.py +150 -0
  10. relaxai/_resource.py +43 -0
  11. relaxai/_response.py +830 -0
  12. relaxai/_streaming.py +333 -0
  13. relaxai/_types.py +219 -0
  14. relaxai/_utils/__init__.py +57 -0
  15. relaxai/_utils/_logs.py +25 -0
  16. relaxai/_utils/_proxy.py +65 -0
  17. relaxai/_utils/_reflection.py +42 -0
  18. relaxai/_utils/_resources_proxy.py +24 -0
  19. relaxai/_utils/_streams.py +12 -0
  20. relaxai/_utils/_sync.py +86 -0
  21. relaxai/_utils/_transform.py +447 -0
  22. relaxai/_utils/_typing.py +151 -0
  23. relaxai/_utils/_utils.py +422 -0
  24. relaxai/_version.py +4 -0
  25. relaxai/lib/.keep +4 -0
  26. relaxai/py.typed +0 -0
  27. relaxai/resources/__init__.py +61 -0
  28. relaxai/resources/chat.py +285 -0
  29. relaxai/resources/embeddings.py +189 -0
  30. relaxai/resources/health.py +134 -0
  31. relaxai/resources/models.py +214 -0
  32. relaxai/types/__init__.py +18 -0
  33. relaxai/types/chat_completion_message.py +54 -0
  34. relaxai/types/chat_completion_message_param.py +55 -0
  35. relaxai/types/chat_create_completion_params.py +106 -0
  36. relaxai/types/chat_create_completion_response.py +79 -0
  37. relaxai/types/content_filter_results.py +57 -0
  38. relaxai/types/embedding_create_params.py +19 -0
  39. relaxai/types/embedding_create_response.py +30 -0
  40. relaxai/types/function_call.py +13 -0
  41. relaxai/types/function_call_param.py +13 -0
  42. relaxai/types/function_definition_param.py +17 -0
  43. relaxai/types/health_check_response.py +7 -0
  44. relaxai/types/model.py +53 -0
  45. relaxai/types/model_list_response.py +16 -0
  46. relaxai/types/usage.py +33 -0
  47. relaxai-0.0.1.dist-info/METADATA +484 -0
  48. relaxai-0.0.1.dist-info/RECORD +50 -0
  49. relaxai-0.0.1.dist-info/WHEEL +4 -0
  50. relaxai-0.0.1.dist-info/licenses/LICENSE +201 -0
relaxai/types/model.py ADDED
@@ -0,0 +1,53 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Dict, List
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["Model", "Permission"]
10
+
11
+
12
+ class Permission(BaseModel):
13
+ id: str
14
+
15
+ allow_create_engine: bool
16
+
17
+ allow_fine_tuning: bool
18
+
19
+ allow_logprobs: bool
20
+
21
+ allow_sampling: bool
22
+
23
+ allow_search_indices: bool
24
+
25
+ allow_view: bool
26
+
27
+ created: int
28
+
29
+ group: object
30
+
31
+ is_blocking: bool
32
+
33
+ object: str
34
+
35
+ organization: str
36
+
37
+
38
+ class Model(BaseModel):
39
+ id: str
40
+
41
+ created: int
42
+
43
+ http_header: Dict[str, List[str]] = FieldInfo(alias="httpHeader")
44
+
45
+ object: str
46
+
47
+ owned_by: str
48
+
49
+ parent: str
50
+
51
+ permission: List[Permission]
52
+
53
+ root: str
@@ -0,0 +1,16 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Dict, List
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from .model import Model
8
+ from .._models import BaseModel
9
+
10
+ __all__ = ["ModelListResponse"]
11
+
12
+
13
+ class ModelListResponse(BaseModel):
14
+ data: List[Model]
15
+
16
+ http_header: Dict[str, List[str]] = FieldInfo(alias="httpHeader")
relaxai/types/usage.py ADDED
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .._models import BaseModel
4
+
5
+ __all__ = ["Usage", "CompletionTokensDetails", "PromptTokensDetails"]
6
+
7
+
8
+ class CompletionTokensDetails(BaseModel):
9
+ accepted_prediction_tokens: int
10
+
11
+ audio_tokens: int
12
+
13
+ reasoning_tokens: int
14
+
15
+ rejected_prediction_tokens: int
16
+
17
+
18
+ class PromptTokensDetails(BaseModel):
19
+ audio_tokens: int
20
+
21
+ cached_tokens: int
22
+
23
+
24
+ class Usage(BaseModel):
25
+ completion_tokens: int
26
+
27
+ completion_tokens_details: CompletionTokensDetails
28
+
29
+ prompt_tokens: int
30
+
31
+ prompt_tokens_details: PromptTokensDetails
32
+
33
+ total_tokens: int
@@ -0,0 +1,484 @@
1
+ Metadata-Version: 2.3
2
+ Name: relaxai
3
+ Version: 0.0.1
4
+ Summary: The official Python library for the relaxai API
5
+ Project-URL: Homepage, https://github.com/relax-ai/python-sdk
6
+ Project-URL: Repository, https://github.com/relax-ai/python-sdk
7
+ Author-email: Relaxai <hello@drelax.ai>
8
+ License: Apache-2.0
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.8
24
+ Requires-Dist: anyio<5,>=3.5.0
25
+ Requires-Dist: distro<2,>=1.7.0
26
+ Requires-Dist: httpx<1,>=0.23.0
27
+ Requires-Dist: pydantic<3,>=1.9.0
28
+ Requires-Dist: sniffio
29
+ Requires-Dist: typing-extensions<5,>=4.10
30
+ Provides-Extra: aiohttp
31
+ Requires-Dist: aiohttp; extra == 'aiohttp'
32
+ Requires-Dist: httpx-aiohttp>=0.1.6; extra == 'aiohttp'
33
+ Description-Content-Type: text/markdown
34
+
35
+ # Relaxai Python API library
36
+
37
+ [![PyPI version](https://github.com/relax-ai/python-sdk/tree/main/<https://img.shields.io/pypi/v/relaxai.svg?label=pypi%20(stable)>)](https://pypi.org/project/relaxai/)
38
+
39
+ The Relaxai Python library provides convenient access to the Relaxai REST API from any Python 3.8+
40
+ application. The library includes type definitions for all request params and response fields,
41
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
42
+
43
+ It is generated with [Stainless](https://www.stainless.com/).
44
+
45
+ ## Documentation
46
+
47
+ The REST API documentation can be found on [www.relax.ai](https://www.relax.ai). The full API of this library can be found in [api.md](https://github.com/relax-ai/python-sdk/tree/main/api.md).
48
+
49
+ ## Installation
50
+
51
+ ```sh
52
+ # install from PyPI
53
+ pip install relaxai
54
+ ```
55
+
56
+ ## Usage
57
+
58
+ The full API of this library can be found in [api.md](https://github.com/relax-ai/python-sdk/tree/main/api.md).
59
+
60
+ ```python
61
+ import os
62
+ from relaxai import Relaxai
63
+
64
+ client = Relaxai(
65
+ api_key=os.environ.get("RELAXAI_API_KEY"), # This is the default and can be omitted
66
+ )
67
+
68
+ response = client.chat.create_completion(
69
+ messages=[
70
+ {
71
+ "multi_content": [{}],
72
+ "role": "role",
73
+ }
74
+ ],
75
+ model="model",
76
+ )
77
+ print(response.id)
78
+ ```
79
+
80
+ While you can provide an `api_key` keyword argument,
81
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
82
+ to add `RELAXAI_API_KEY="My API Key"` to your `.env` file
83
+ so that your API Key is not stored in source control.
84
+
85
+ ## Async usage
86
+
87
+ Simply import `AsyncRelaxai` instead of `Relaxai` and use `await` with each API call:
88
+
89
+ ```python
90
+ import os
91
+ import asyncio
92
+ from relaxai import AsyncRelaxai
93
+
94
+ client = AsyncRelaxai(
95
+ api_key=os.environ.get("RELAXAI_API_KEY"), # This is the default and can be omitted
96
+ )
97
+
98
+
99
+ async def main() -> None:
100
+ response = await client.chat.create_completion(
101
+ messages=[
102
+ {
103
+ "multi_content": [{}],
104
+ "role": "role",
105
+ }
106
+ ],
107
+ model="model",
108
+ )
109
+ print(response.id)
110
+
111
+
112
+ asyncio.run(main())
113
+ ```
114
+
115
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
116
+
117
+ ### With aiohttp
118
+
119
+ By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
120
+
121
+ You can enable this by installing `aiohttp`:
122
+
123
+ ```sh
124
+ # install from PyPI
125
+ pip install relaxai[aiohttp]
126
+ ```
127
+
128
+ Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
129
+
130
+ ```python
131
+ import os
132
+ import asyncio
133
+ from relaxai import DefaultAioHttpClient
134
+ from relaxai import AsyncRelaxai
135
+
136
+
137
+ async def main() -> None:
138
+ async with AsyncRelaxai(
139
+ api_key=os.environ.get("RELAXAI_API_KEY"), # This is the default and can be omitted
140
+ http_client=DefaultAioHttpClient(),
141
+ ) as client:
142
+ response = await client.chat.create_completion(
143
+ messages=[
144
+ {
145
+ "multi_content": [{}],
146
+ "role": "role",
147
+ }
148
+ ],
149
+ model="model",
150
+ )
151
+ print(response.id)
152
+
153
+
154
+ asyncio.run(main())
155
+ ```
156
+
157
+ ## Using types
158
+
159
+ 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:
160
+
161
+ - Serializing back into JSON, `model.to_json()`
162
+ - Converting to a dictionary, `model.to_dict()`
163
+
164
+ 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`.
165
+
166
+ ## Nested params
167
+
168
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
169
+
170
+ ```python
171
+ from relaxai import Relaxai
172
+
173
+ client = Relaxai()
174
+
175
+ response = client.chat.create_completion(
176
+ messages=[
177
+ {
178
+ "multi_content": [{}],
179
+ "role": "role",
180
+ }
181
+ ],
182
+ model="model",
183
+ prediction={
184
+ "content": "content",
185
+ "type": "type",
186
+ },
187
+ )
188
+ print(response.prediction)
189
+ ```
190
+
191
+ ## Handling errors
192
+
193
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `relaxai.APIConnectionError` is raised.
194
+
195
+ When the API returns a non-success status code (that is, 4xx or 5xx
196
+ response), a subclass of `relaxai.APIStatusError` is raised, containing `status_code` and `response` properties.
197
+
198
+ All errors inherit from `relaxai.APIError`.
199
+
200
+ ```python
201
+ import relaxai
202
+ from relaxai import Relaxai
203
+
204
+ client = Relaxai()
205
+
206
+ try:
207
+ client.chat.create_completion(
208
+ messages=[
209
+ {
210
+ "multi_content": [{}],
211
+ "role": "role",
212
+ }
213
+ ],
214
+ model="model",
215
+ )
216
+ except relaxai.APIConnectionError as e:
217
+ print("The server could not be reached")
218
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
219
+ except relaxai.RateLimitError as e:
220
+ print("A 429 status code was received; we should back off a bit.")
221
+ except relaxai.APIStatusError as e:
222
+ print("Another non-200-range status code was received")
223
+ print(e.status_code)
224
+ print(e.response)
225
+ ```
226
+
227
+ Error codes are as follows:
228
+
229
+ | Status Code | Error Type |
230
+ | ----------- | -------------------------- |
231
+ | 400 | `BadRequestError` |
232
+ | 401 | `AuthenticationError` |
233
+ | 403 | `PermissionDeniedError` |
234
+ | 404 | `NotFoundError` |
235
+ | 422 | `UnprocessableEntityError` |
236
+ | 429 | `RateLimitError` |
237
+ | >=500 | `InternalServerError` |
238
+ | N/A | `APIConnectionError` |
239
+
240
+ ### Retries
241
+
242
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
243
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
244
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
245
+
246
+ You can use the `max_retries` option to configure or disable retry settings:
247
+
248
+ ```python
249
+ from relaxai import Relaxai
250
+
251
+ # Configure the default for all requests:
252
+ client = Relaxai(
253
+ # default is 2
254
+ max_retries=0,
255
+ )
256
+
257
+ # Or, configure per-request:
258
+ client.with_options(max_retries=5).chat.create_completion(
259
+ messages=[
260
+ {
261
+ "multi_content": [{}],
262
+ "role": "role",
263
+ }
264
+ ],
265
+ model="model",
266
+ )
267
+ ```
268
+
269
+ ### Timeouts
270
+
271
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
272
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
273
+
274
+ ```python
275
+ from relaxai import Relaxai
276
+
277
+ # Configure the default for all requests:
278
+ client = Relaxai(
279
+ # 20 seconds (default is 1 minute)
280
+ timeout=20.0,
281
+ )
282
+
283
+ # More granular control:
284
+ client = Relaxai(
285
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
286
+ )
287
+
288
+ # Override per-request:
289
+ client.with_options(timeout=5.0).chat.create_completion(
290
+ messages=[
291
+ {
292
+ "multi_content": [{}],
293
+ "role": "role",
294
+ }
295
+ ],
296
+ model="model",
297
+ )
298
+ ```
299
+
300
+ On timeout, an `APITimeoutError` is thrown.
301
+
302
+ Note that requests that time out are [retried twice by default](https://github.com/relax-ai/python-sdk/tree/main/#retries).
303
+
304
+ ## Advanced
305
+
306
+ ### Logging
307
+
308
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
309
+
310
+ You can enable logging by setting the environment variable `RELAXAI_LOG` to `info`.
311
+
312
+ ```shell
313
+ $ export RELAXAI_LOG=info
314
+ ```
315
+
316
+ Or to `debug` for more verbose logging.
317
+
318
+ ### How to tell whether `None` means `null` or missing
319
+
320
+ 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`:
321
+
322
+ ```py
323
+ if response.my_field is None:
324
+ if 'my_field' not in response.model_fields_set:
325
+ print('Got json like {}, without a "my_field" key present at all.')
326
+ else:
327
+ print('Got json like {"my_field": null}.')
328
+ ```
329
+
330
+ ### Accessing raw response data (e.g. headers)
331
+
332
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
333
+
334
+ ```py
335
+ from relaxai import Relaxai
336
+
337
+ client = Relaxai()
338
+ response = client.chat.with_raw_response.create_completion(
339
+ messages=[{
340
+ "multi_content": [{}],
341
+ "role": "role",
342
+ }],
343
+ model="model",
344
+ )
345
+ print(response.headers.get('X-My-Header'))
346
+
347
+ chat = response.parse() # get the object that `chat.create_completion()` would have returned
348
+ print(chat.id)
349
+ ```
350
+
351
+ These methods return an [`APIResponse`](https://github.com/relax-ai/python-sdk/tree/main/src/relaxai/_response.py) object.
352
+
353
+ The async client returns an [`AsyncAPIResponse`](https://github.com/relax-ai/python-sdk/tree/main/src/relaxai/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
354
+
355
+ #### `.with_streaming_response`
356
+
357
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
358
+
359
+ 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.
360
+
361
+ ```python
362
+ with client.chat.with_streaming_response.create_completion(
363
+ messages=[
364
+ {
365
+ "multi_content": [{}],
366
+ "role": "role",
367
+ }
368
+ ],
369
+ model="model",
370
+ ) as response:
371
+ print(response.headers.get("X-My-Header"))
372
+
373
+ for line in response.iter_lines():
374
+ print(line)
375
+ ```
376
+
377
+ The context manager is required so that the response will reliably be closed.
378
+
379
+ ### Making custom/undocumented requests
380
+
381
+ This library is typed for convenient access to the documented API.
382
+
383
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
384
+
385
+ #### Undocumented endpoints
386
+
387
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
388
+ http verbs. Options on the client will be respected (such as retries) when making this request.
389
+
390
+ ```py
391
+ import httpx
392
+
393
+ response = client.post(
394
+ "/foo",
395
+ cast_to=httpx.Response,
396
+ body={"my_param": True},
397
+ )
398
+
399
+ print(response.headers.get("x-foo"))
400
+ ```
401
+
402
+ #### Undocumented request params
403
+
404
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
405
+ options.
406
+
407
+ #### Undocumented response properties
408
+
409
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
410
+ can also get all the extra fields on the Pydantic model as a dict with
411
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
412
+
413
+ ### Configuring the HTTP client
414
+
415
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
416
+
417
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
418
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
419
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
420
+
421
+ ```python
422
+ import httpx
423
+ from relaxai import Relaxai, DefaultHttpxClient
424
+
425
+ client = Relaxai(
426
+ # Or use the `RELAXAI_BASE_URL` env var
427
+ base_url="http://my.test.server.example.com:8083",
428
+ http_client=DefaultHttpxClient(
429
+ proxy="http://my.test.proxy.example.com",
430
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
431
+ ),
432
+ )
433
+ ```
434
+
435
+ You can also customize the client on a per-request basis by using `with_options()`:
436
+
437
+ ```python
438
+ client.with_options(http_client=DefaultHttpxClient(...))
439
+ ```
440
+
441
+ ### Managing HTTP resources
442
+
443
+ 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.
444
+
445
+ ```py
446
+ from relaxai import Relaxai
447
+
448
+ with Relaxai() as client:
449
+ # make requests here
450
+ ...
451
+
452
+ # HTTP client is now closed
453
+ ```
454
+
455
+ ## Versioning
456
+
457
+ 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:
458
+
459
+ 1. Changes that only affect static types, without breaking runtime behavior.
460
+ 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.)_
461
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
462
+
463
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
464
+
465
+ We are keen for your feedback; please open an [issue](https://www.github.com/relax-ai/python-sdk/issues) with questions, bugs, or suggestions.
466
+
467
+ ### Determining the installed version
468
+
469
+ 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.
470
+
471
+ You can determine the version that is being used at runtime with:
472
+
473
+ ```py
474
+ import relaxai
475
+ print(relaxai.__version__)
476
+ ```
477
+
478
+ ## Requirements
479
+
480
+ Python 3.8 or higher.
481
+
482
+ ## Contributing
483
+
484
+ See [the contributing documentation](https://github.com/relax-ai/python-sdk/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,50 @@
1
+ relaxai/__init__.py,sha256=jawpphZN3cZd39n6_t5JS-ypY59otlavNWnrP--HOHU,2587
2
+ relaxai/_base_client.py,sha256=_FDl5IhRWrFRkktJpIjmHgagrMupFj1FSVvr3t302sE,66716
3
+ relaxai/_client.py,sha256=jgqv6k3Soy6PWVJCWcDcwAhrWfUGNiKUrVnXPw5Gpog,17017
4
+ relaxai/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
+ relaxai/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ relaxai/_exceptions.py,sha256=CPRCoUcv5nQ7_hkZu9WvAFxQM0Mf6_ZCGU8JPY81zpY,3222
7
+ relaxai/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
+ relaxai/_models.py,sha256=G1vczEodX0vUySeVKbF-mbzlaObNL1oVAYH4c65agRk,29131
9
+ relaxai/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
+ relaxai/_resource.py,sha256=v7qxjafEaUaEfecj54WhuhW2hupVzM8Os0EIHVRmbkc,1106
11
+ relaxai/_response.py,sha256=URFVS4ivxSoLsvosTN0Rc3f5vbBBb0DIB4Eh2XPGa_Q,28794
12
+ relaxai/_streaming.py,sha256=Nr4O_q1hh35alNVqo46KKf9ZTbRp-IoXjGFCCNJC1fA,10104
13
+ relaxai/_types.py,sha256=hzXV2igITH7hq2g4zoT8DOcWoTygjpuzRT2OUh1-V1w,6198
14
+ relaxai/_version.py,sha256=lBO430l8VQJh2gQ8xBMny3iZoevD2Qjh21tlBGgBU44,159
15
+ relaxai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ relaxai/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
+ relaxai/_utils/_logs.py,sha256=JN6s4kBek7yKmmZ_YwCsGFuRdVLEaxfgdkCgnJWcFN0,777
18
+ relaxai/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
19
+ relaxai/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
20
+ relaxai/_utils/_resources_proxy.py,sha256=9_EObM8JvNkCjrPt8cs1fv4Zitbzv6UQjJJA-GKm4Tw,594
21
+ relaxai/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
22
+ relaxai/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
23
+ relaxai/_utils/_transform.py,sha256=n7kskEWz6o__aoNvhFoGVyDoalNe6mJwp-g7BWkdj88,15617
24
+ relaxai/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0XcnjtY,4602
25
+ relaxai/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
26
+ relaxai/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
27
+ relaxai/resources/__init__.py,sha256=iXDN-kkHrROvAkOUiXDtVoAiRL1HN1EI81guF9i50Qs,1928
28
+ relaxai/resources/chat.py,sha256=yHDf-wGgcxg09tOvknvTWBbZJ8NdPLH675Gtw0pjB6M,12032
29
+ relaxai/resources/embeddings.py,sha256=aOaXQ_FBaDMOjYRX-DTz5_swDHe-UC75Gu-xupKmMtU,6929
30
+ relaxai/resources/health.py,sha256=fitWsb_aSpWLfhUjTeKy4qGbEKZGW74DWeIljPibb8I,4749
31
+ relaxai/resources/models.py,sha256=7osSj1mo_uZD1AVZzqMCUKA_4UUu6DsVwdeZ3BE1gwo,7775
32
+ relaxai/types/__init__.py,sha256=DEebMov45PQuP_MWBojMGygclVIHTxJsA0wquu5GklA,1204
33
+ relaxai/types/chat_completion_message.py,sha256=62FWhEZcz6B9YRb22h6Wze5VJL3uSs1PuAowgpQUDTQ,1128
34
+ relaxai/types/chat_completion_message_param.py,sha256=u5jQ52sy3nboKBGeO9qhtwRCopsQlIm1iP02l5wVGJ8,1086
35
+ relaxai/types/chat_create_completion_params.py,sha256=HErJzeT8_EuM6hW5edfWdMbsZG9cB0TXWxY_4Rr9870,1833
36
+ relaxai/types/chat_create_completion_response.py,sha256=qkwHNJCzeL_B-78bnYmIFAahBDLplvQNaT437nsQPHo,1550
37
+ relaxai/types/content_filter_results.py,sha256=vOaHu4jdGKVX4vqqCZohTYDsKDXlvfh57Ozb_95-c2U,999
38
+ relaxai/types/embedding_create_params.py,sha256=GohmpGhT2WkXr0EY-oMlXHFrv4avYeyLGWmwuHclwuk,381
39
+ relaxai/types/embedding_create_response.py,sha256=R5bMlsA78dXNWmcTM79qpHj7oMdxI8c4FFVTJup4lpk,535
40
+ relaxai/types/function_call.py,sha256=n_agCO6Vrh5YZH1SZ6GWOV4mk2IFPeHJA_WkZrPGPMw,277
41
+ relaxai/types/function_call_param.py,sha256=X-bQ7vMH7BKrAiweHRGY5fGzddPLkppUOa1R1T5etg0,281
42
+ relaxai/types/function_definition_param.py,sha256=HqGQTiwZ4vXGYgYC2iscc_THORFPSZ1qXxnXpAc-A_8,367
43
+ relaxai/types/health_check_response.py,sha256=6Zn5YYHCQf2RgMjDlf39mtiTPqfaBfC9Vv599U_rKCI,200
44
+ relaxai/types/model.py,sha256=Du9lb9dn846N1fPrKtDsPSLczkqnzxVAJPb8GMqyVJ8,764
45
+ relaxai/types/model_list_response.py,sha256=zGGRmJLFa5AQ5R2P75E6Qh5wUjtolqcMkXXJTzzy9nA,380
46
+ relaxai/types/usage.py,sha256=5KaiAggU1xFXDajFkIbHII-RarAiAsJE-4ECBs-AJZg,647
47
+ relaxai-0.0.1.dist-info/METADATA,sha256=w10Vj12ufcWqdtpfEOvYvpJiIuDaSprnmj2XJU3_PoA,15002
48
+ relaxai-0.0.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
49
+ relaxai-0.0.1.dist-info/licenses/LICENSE,sha256=B0u5zBqmaNCfIZooH665f2J7yFqMmSjQxZtnJhCuID8,11337
50
+ relaxai-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.26.3
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any