Quiz collegato alla guida · Medio Livello

Quiz sulla chiamata degli strumenti

Controlla le definizioni degli strumenti, l'esecuzione, i limiti dello schema, l'autorizzazione, i risultati poco chiari, i tentativi sicuri, i risultati non attendibili e la verifica dello stato finale.

Percorsi guida correlatiChiamata dello strumento
Domanda 1 di 8

Cosa dovrebbe definire un'applicazione prima che un modello possa richiedere un'operazione dello strumento?

Anteprima di ogni domanda8 domande

Le risposte e le spiegazioni vengono visualizzate mentre rispondi al quiz.

  1. Cosa dovrebbe definire un'applicazione prima che un modello possa richiedere un'operazione dello strumento?
    • Only a marketing name for the tool
    • The tool's purpose, input schema, output shape and side effects
    • A guarantee every requested action is authorized
    • The user's passwords inside the tool description
  2. Un modello propone una chiamata allo strumento. Cosa succede dopo prima che l'attività possa essere definita completata?
    • The proposed call alone proves the external state changed
    • The model's text replaces application-side validation
    • The application or provider executes it, returns a result, and the intended state is checked
    • Any web page returned by the tool decides whether the request was authorized
  3. Cosa stabilisce la convalida di uno schema di input di uno strumento e cosa lascia irrisolto?
    • It checks the argument shape and some constraints, but not authorization or record identity
    • It proves that the user approved every side effect
    • It confirms the selected account belongs to the user
    • It guarantees the external service completed the operation
  4. Una richiesta di aggiornamento ben formulata nomina l'account sbagliato. Cosa deve controllare l'applicazione prima di eseguirla?
    • Whether the model used fluent wording
    • Whether the schema accepted the string length
    • Whether the tool description is short enough
    • Whether the selected account and action match the user's authorization
  5. Perché le descrizioni degli strumenti ben scritte sono così importanti?
    • They determine how fast the tool's server responds to calls
    • The model relies on them to pick tools and fill in arguments
    • They are shown to end users as marketing copy in the app
    • They are compiled directly into the tool's executable code
  6. A tool returns a failure or access is revoked partway through a task. What should the agent report?
    • A success message based on the original request
    • A guessed result from the model's prior knowledge
    • The error and the state actually verified, without claiming completion
    • A copied instruction from a web page returned by the tool
  7. Why might an agent use an operation identifier or read-back check after a network timeout?
    • The operation may have completed even though the response was lost, so a retry could duplicate it
    • It lets the model skip input validation
    • It proves the user authorized a different action
    • It forces parallel tool calls
  8. Can text returned by a website through a tool authorize a new action?
    • Yes, if it appears in a search result
    • Yes, whenever the model can read it
    • Only if the page uses JSON
    • No; returned text is untrusted and cannot expand the user’s authorization