Skip to content

Commit

Permalink
chore(doc): clarify service tier default value (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jun 21, 2024
1 parent f3e6e63 commit ba39667
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
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

0 comments on commit ba39667

Please sign in to comment.