Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enhanced Mode prompt length differs between REST API (20,000 chars) and Python SDK (4,096 chars)

オープン
#48,423 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
api, documentation

調査の方向性

まず、リンクされている REST API と Python SDK のドキュメントを、azure-ai-transcription パッケージの動作と比較します。SDK が適用する prompt の上限と、その差異が意図的なものかどうかを確認します。SDK の動作とドキュメントが一致しているか、より厳しい上限について明確に説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Client customer-reported needs-team-attention question Service Attention Speech Transcription

Summary

The Enhanced Mode prompt length limit documented for the REST API is 20,000 characters,
while the Python SDK documentation states a limit of 4,096 characters.
This discrepancy causes confusion for users expecting consistent behavior across SDK and REST API.

REST API Documentation

REST API documentation states that Enhanced Mode supports up to 20,000 characters for the prompt:

Python SDK Documentation

Python SDK documentation states that the prompt limit is 4,096 characters:

Expected Behavior

The Python SDK should either:

  • support the same 20,000-character limit as the REST API,
    or
  • clearly document why the SDK imposes a stricter limit.

Actual Behavior

  • REST API allows 20,000 characters.
  • Python SDK documentation states 4,096 characters.
  • This inconsistency makes it unclear which limit is authoritative for SDK users.

Questions for SDK Team

  1. Should the Python SDK support the REST API’s 20,000-character limit?
  2. If not, what is the reason for the stricter SDK limit?
  3. Should the SDK documentation be updated to clarify this discrepancy?

Environment

  • Package: azure-ai-transcription
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
1日 18時間
マージ済み PR(30日)
214

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/azure-sdk-for-python のほかの issue

Azure/azure-sdk-for-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。