가이드 연계 퀴즈 · 중간 레벨

병렬 함수 호출 퀴즈

병렬 도구 호출이 실행되고 ID별로 일치하는 방법, 일괄 처리가 안전할 때와 종속적일 때, 부분 실패 및 시간 초과를 처리하는 방법을 테스트합니다.

관련 가이드 경로병렬 함수 호출
질문 1 의 8

병렬 함수 호출에서 모델은 하나의 응답으로 무엇을 반환합니까?

모든 질문 미리보기8 질문

퀴즈를 풀면 정답과 설명이 나타납니다.

  1. 병렬 함수 호출에서 모델은 하나의 응답으로 무엇을 반환합니까?
    • The model trains on several datasets at once
    • The model requests several tool calls in a single response
    • Two models answer the same question
    • Tools call the model repeatedly
  2. 실제로 누가 도구를 동시에 실행합니까?
    • The language model itself
    • The application or harness
    • The user's browser only
    • The model provider's billing system
  3. 병렬로 발행해서는 안 되는 호출 쌍은 무엇입니까?
    • Weather lookups for three different cities
    • Searching two unrelated topics
    • Creating a folder and then writing a file into that folder
    • Fetching orders and support tickets for one customer
  4. 결과를 도구 호출과 어떻게 일치시켜야 합니까?
    • By the order they finish
    • By their position in the list
    • By the call identifier
    • By the length of each result
  5. 5개의 병렬 검색 중 2개가 시간 초과되었습니다. 가장 좋은 반응은 무엇입니까?
    • Discard all five results
    • Return the three successes and two clear errors so the model can retry the failures
    • Crash the agent
    • Pretend the failed searches returned empty results without saying so
  6. Why use Promise.allSettled or asyncio.gather with return_exceptions?
    • So one failed call does not discard the other results
    • To make calls run one at a time
    • To encrypt tool outputs
    • To reduce the number of tools
  7. Roughly how long does a parallel batch of independent calls take?
    • The sum of all call durations
    • About the duration of the slowest call
    • Zero time
    • Always exactly one second
  8. What helps prevent retries of side-effecting tools from duplicating actions?
    • Idempotency keys
    • Longer tool descriptions
    • Higher model temperature
    • Removing call identifiers