Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#48,423 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
api, documentation

Direzione di ricerca

Inizia confrontando la documentazione collegata della REST API e del Python SDK con il comportamento del pacchetto azure-ai-transcription. Conferma quale limite per il prompt impone l'SDK e se la differenza è intenzionale; il lavoro è completato quando il comportamento e la documentazione dell'SDK sono allineati, oppure quando il limite più restrittivo è spiegato chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
1g 18h
PR unite (30g)
214

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-sdk-for-python

Tutte le issue di Azure/azure-sdk-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.