Questionário vinculado ao guia · Médio Nível

Questionário de engenharia de contexto

Testa como a engenharia de contexto difere do prompt, por que o contexto é um orçamento simbólico e técnicas como carregamento just-in-time e cache de prompt.

Caminhos de guia relacionadosEngenharia de Contexto
Pergunta 1 de 8

O que melhor distingue a engenharia de contexto da engenharia imediata?

Visualize cada pergunta8 perguntas

As respostas e explicações aparecem conforme você responde ao teste.

  1. O que melhor distingue a engenharia de contexto da engenharia imediata?
    • It only concerns the wording of the user's question
    • It covers everything the model sees, including retrieved data, tool results and memory, not just the wording
    • It requires fine-tuning the model's weights
    • It applies only to image-generation models
  2. O que a pesquisa “perdidos no meio” sugeriu sobre entradas longas?
    • Models read every part of a long input equally well
    • Models ignore the beginning of their input
    • Models often use information at the start and end of a long input better than information in the middle
    • Models cannot process more than about 1,000 tokens
  3. Por que o guia descreve o contexto como um orçamento?
    • Every token costs money and latency, and irrelevant material can distract the model
    • Providers charge a flat monthly fee for context
    • Models refuse inputs above a certain dollar amount
    • The word refers only to the compute used in training
  4. O que é carregamento just-in-time?
    • Loading the entire codebase into the window at the start of a session
    • Retraining the model whenever new data arrives
    • Caching every model output permanently
    • Giving the agent lightweight references, such as file names, and letting it fetch full content with tools when needed
  5. Por que é útil colocar conteúdo estável, como instruções do sistema e definições de ferramentas, no início em uma ordem fixa?
    • Isso torna o modelo mais criativo
    • Every API requires this order
    • An identical prefix can be reused through prompt caching, which lowers cost and latency
    • It hides the instructions from the user
  6. Which approach to tool design does the guide recommend?
    • Tools should return all raw data so nothing is missed
    • Tools should return concise, high-signal output and support filtering or pagination
    • Many tools with overlapping descriptions give the model more choice
    • Tool descriptions should be left empty to save tokens
  7. Which statement is a misconception the guide warns about?
    • Large context windows increase cost per request
    • Tool definitions take up tokens on every turn
    • Retrieval can reduce how much text goes into the window
    • A bigger context window removes the need to curate what goes in
  8. What role do sub-agents play in context engineering?
    • They explore in their own separate context and return condensed findings to the main agent
    • They double the context window of the main agent
    • They replace the system prompt
    • They store user passwords between sessions