Test legat de ghid · Mediu Nivel
Testul maxim de jetoane și secvențe de oprire
Testează diferența dintre jetoanele maxime și fereastra de context, cum funcționează secvențele de oprire și cum se citesc motivele de sfârșit pentru a prinde trunchierea.
Întrebare 1 de 8
Ce limitează jetoanele maxime?
Previzualizează fiecare întrebare8 întrebări
Răspunsurile și explicațiile apar pe măsură ce susțineți testul.
- Ce limitează jetoanele maxime?
- The total tokens of input plus output in the context window
- The number of tokens the model may generate in a single response
- The number of requests per minute
- Dimensiunea vocabularului modelului
- Apelul dvs. returnează un motiv final de „lungime” în API-ul OpenAI. Ce s-a întâmplat?
- The model finished its answer naturally
- A stop sequence was matched
- The output hit the maximum token limit and was cut off
- The model requested a tool call
- Care Anthropic stop_reason indică faptul că modelul a decis că răspunsul său a fost complet?
- end_turn
- max_tokens
- stop_sequence
- tool_use
- De ce setarea unei valori maxime scăzute a jetoanelor nu face răspunsurile concise?
- The API ignores low values
- The model writes as usual and is simply cut off when it reaches the limit
- It makes the model skip the first half of its answer
- It only affects input tokens
- Secvența de oprire potrivită este inclusă în mod normal în textul returnat?
- Yes, always at the end
- Yes, but only when streaming
- No, it is normally left out of the output
- Only if it is a single character
- A reasoning model returns an empty visible answer. What is a likely cause described in the guide?
- The stop sequence was too long
- Hidden reasoning tokens used up the output limit
- The context window was too large
- The prompt was written in lowercase
- Which stop sequence is the best choice for ending after a structured answer block?
- cel
- a single space
- </answer>
- .
- When streaming a response, when should your code decide whether the output was truncated?
- After the first chunk arrives
- When the finish reason arrives at the end of the stream
- Before sending the request
- Streaming responses cannot be truncated