Quiz collegato alla guida · Medio Livello
OpenAI Quiz sulle risposte API e completamenti chat
Confronta le attuali indicazioni sugli endpoint OpenAI, le forme di richiesta e risposta, le opzioni di stato, gli strumenti integrati, la compatibilità dei modelli e il lavoro di migrazione.
Domanda 1 di 8
A partire dalla documentazione OpenAI citata, in che modo le risposte possono preservare il contesto della conversazione tra i turni?
Anteprima di ogni domanda8 domande
Le risposte e le spiegazioni vengono visualizzate mentre rispondi al quiz.
- A partire dalla documentazione OpenAI citata, in che modo le risposte possono preservare il contesto della conversazione tra i turni?
- Through options such as previous_response_id or the Conversations API
- Only by switching to Chat Completions
- Automatically across every API call and user
- By relying on the model to remember earlier requests
- Quale funzionalità integrata offre l'API Responses che in precedenza richiedeva un'implementazione personalizzata in Completamenti chat?
- Streaming text output
- Built-in tools such as web search and file search executed server-side
- Setting a system prompt
- Assigning roles to messages
- Come differisce la forma dell'output dell'API delle Risposte da quella delle Chat Completions?
- It returns a single flat message just like Chat Completions
- It only ever returns tool call results, never text
- It can return multiple output items such as text, tool calls, and reasoning traces
- It removes the concept of roles entirely
- Cosa dice attualmente OpenAI sulle Chat Completions?
- It is already shut down
- It is required for all built-in tools
- It is the only API that supports text generation
- It remains supported, while Responses is recommended for new projects
- Cosa dovrebbe verificare uno sviluppatore prima di presumere che una funzionalità API funzioni con un determinato modello?
- The model-specific endpoint and tool support in current docs
- Only the marketing name
- That every model supports all endpoints identically
- Whether another provider supports the feature
- In custom function calling under Chat Completions, who executes the requested function?
- OpenAI's servers execute it automatically
- The developer's own application code executes it and sends back the result
- The function runs inside the model's weights
- No execution is needed; the model fabricates a plausible result
- What does previous_response_id allow a developer to skip?
- Setting a system prompt
- Choosing a model name
- Resending the full conversation history on each request
- Enabling streaming
- Which task is part of a careful Chat Completions-to-Responses migration?
- Changing only the URL and assuming all fields match
- Removing application-level safety checks
- Assuming Responses retains no data
- Adapting input/output parsing and testing tools, streaming, errors, and storage settings