From e2445b9a634656003e2f4cdcd7bd716f97b60cf7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:02:08 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 2 +- src/groq/resources/audio/transcriptions.py | 6 ++---- src/groq/types/audio/transcription_create_params.py | 3 +-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 68bc0797..4031baa7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 7 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-a711d22c2283945608fc5ab6a399805da8961d6b9e0e068637d389ed611230c0.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-82797b9f004b8c807380a1fa8eec4dc51d760b0f7f1705409a171e88e370102f.yml diff --git a/src/groq/resources/audio/transcriptions.py b/src/groq/resources/audio/transcriptions.py index 1fbbef58..c67d7781 100644 --- a/src/groq/resources/audio/transcriptions.py +++ b/src/groq/resources/audio/transcriptions.py @@ -186,8 +186,7 @@ def create( improve accuracy and latency. prompt: An optional text to guide the model's style or continue a previous audio - segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the - audio language. + segment. The [prompt](/docs/speech-text) should match the audio language. response_format: The format of the transcript output, in one of these options: `json`, `text`, or `verbose_json`. @@ -396,8 +395,7 @@ async def create( improve accuracy and latency. prompt: An optional text to guide the model's style or continue a previous audio - segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the - audio language. + segment. The [prompt](/docs/speech-text) should match the audio language. response_format: The format of the transcript output, in one of these options: `json`, `text`, or `verbose_json`. diff --git a/src/groq/types/audio/transcription_create_params.py b/src/groq/types/audio/transcription_create_params.py index f3000768..0ae47eb0 100644 --- a/src/groq/types/audio/transcription_create_params.py +++ b/src/groq/types/audio/transcription_create_params.py @@ -136,8 +136,7 @@ class TranscriptionCreateParams(TypedDict, total=False): """An optional text to guide the model's style or continue a previous audio segment. - The [prompt](/docs/guides/speech-to-text/prompting) should match the audio - language. + The [prompt](/docs/speech-text) should match the audio language. """ response_format: Literal["json", "text", "verbose_json"]