Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(doc): clarify service tier default value #1496

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 64
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-8fe357c6b5a425d810d731e4102a052d8e38c5e2d66950e6de1025415160bf88.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-3a69e1cc9e1efda3fb82d0fb35961749f886a87594dae9d8d2aa5c60f157f5d2.yml
18 changes: 12 additions & 6 deletions src/openai/resources/chat/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -363,7 +364,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -550,7 +552,8 @@ def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -812,7 +815,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -1006,7 +1010,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down Expand Up @@ -1193,7 +1198,8 @@ async def create(

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down
3 changes: 2 additions & 1 deletion src/openai/types/chat/completion_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ class CompletionCreateParamsBase(TypedDict, total=False):

- If set to 'auto', the system will utilize scale tier credits until they are
exhausted.
- If set to 'default', the request will be processed in the shared cluster.
- If set to 'default', the request will be processed using the default service
tier with a lower uptime SLA and no latency guarentee.

When this parameter is set, the response body will include the `service_tier`
utilized.
Expand Down