You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, you can build from source and install the wheel file:
@@ -121,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
121
120
122
121
### Publish with a GitHub workflow
123
122
124
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/digitalocean-genai-sdk-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/serverless-inference-sdk-prod-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Copyright 2025 digitalocean-genai-sdk
1
+
Copyright 2025 serverless-inference-sdk-prod
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> Once this package is [published to PyPI](https://app.stainless.com/docs/guides/publish), this will become: `pip install --pre digitalocean_genai_sdk`
23
+
> Once this package is [published to PyPI](https://app.stainless.com/docs/guides/publish), this will become: `pip install --pre serverless_inference_sdk_prod`
24
24
25
25
## Usage
26
26
27
27
The full API of this library can be found in [api.md](api.md).
@@ -128,27 +116,27 @@ The async client uses the exact same interface. If you pass a [`PathLike`](https
128
116
129
117
## Handling errors
130
118
131
-
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `digitalocean_genai_sdk.APIConnectionError` is raised.
119
+
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `serverless_inference_sdk_prod.APIConnectionError` is raised.
132
120
133
121
When the API returns a non-success status code (that is, 4xx or 5xx
134
-
response), a subclass of `digitalocean_genai_sdk.APIStatusError` is raised, containing `status_code` and `response` properties.
122
+
response), a subclass of `serverless_inference_sdk_prod.APIStatusError` is raised, containing `status_code` and `response` properties.
135
123
136
-
All errors inherit from `digitalocean_genai_sdk.APIError`.
124
+
All errors inherit from `serverless_inference_sdk_prod.APIError`.
assistant = response.parse() # get the object that `assistants.list()` would have returned
256
244
print(assistant.first_id)
257
245
```
258
246
259
-
These methods return an [`APIResponse`](https://github.com/stainless-sdks/digitalocean-genai-sdk-python/tree/main/src/digitalocean_genai_sdk/_response.py) object.
247
+
These methods return an [`APIResponse`](https://github.com/stainless-sdks/serverless-inference-sdk-prod-python/tree/main/src/serverless_inference_sdk_prod/_response.py) object.
260
248
261
-
The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/digitalocean-genai-sdk-python/tree/main/src/digitalocean_genai_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
249
+
The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/serverless-inference-sdk-prod-python/tree/main/src/serverless_inference_sdk_prod/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
262
250
263
251
#### `.with_streaming_response`
264
252
@@ -320,10 +308,10 @@ You can directly override the [httpx client](https://www.python-httpx.org/api/#c
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.
@@ -362,7 +350,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
362
350
363
351
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
364
352
365
-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/digitalocean-genai-sdk-python/issues) with questions, bugs, or suggestions.
353
+
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/serverless-inference-sdk-prod-python/issues) with questions, bugs, or suggestions.
366
354
367
355
### Determining the installed version
368
356
@@ -371,8 +359,8 @@ If you've upgraded to the latest version but aren't seeing any new features you
371
359
You can determine the version that is being used at runtime with:
0 commit comments