逐日AI

面试题库

共 328 题,当前筛选 1 题。

标签
还有 136 个标签
#api-design6#operations6#sse6#deployment5#message-bus5#tool-calling5#agent-loop4#behavioral4#error-handling4#evaluation4#framework-design4#mcp4#routing4#concurrency3#context-engineering3#interview-prep3#langgraph3#llm-basics3#model-routing3#orchestration3#prompt-injection3#protocol3#redis-streams3#scalability3#scheduling3#agent-design2#auth2#checkpointing2#communication2#cost-control2#database2#debugging2#interview-process2#latency2#long-term-memory2#memory2#ordering2#prompt-engineering2#rate-limiting2#react2#resume2#retrieval2#sharding2#state-machine2#state-management2#tool-design2#tool-permissions2#trade-offs2#ux2#agent-quality1#async1#atomicity1#cancellation1#capacity-planning1#career1#chunking1#compression1#configuration1#consistent-hashing1#context1#context-compression1#context-management1#correctness1#customer-support1#data-modeling1#deliberate-practice1#docker1#documentation1#engineering-tradeoffs1#escalation1#event-driven1#fallback1#fan-out1#fencing-token1#forking1#framework-selection1#frontend1#global-market1#hybrid-search1#interrupt-merge1#isolation1#json-parsing1#jwt1#knowledge-organization1#lease1#least-privilege1#llm-as-judge1#loop-guard1#mobile1#multi-tenancy1#nodejs1#performance1#persistence1#pgvector1#portfolio1#prioritization1#proactive-messaging1#product-engineering1#project-storytelling1#prompt1#provider-abstraction1#quiet-hours1#ranking1#recall1#reconnect1#redis1#reflection1#replay1#reporting1#rerank1#retrieval-quality1#retry1#retry-semantics1#rrf1#sampling1#sandboxing1#schema-design1#secrets-management1#self-assessment1#self-introduction1#self-presentation1#service-architecture1#session-management1#split-brain1#star1#stateless1#storytelling1#structured-output1#system-prompt1#testing1#timezone1#tool-execution1#tools1#tracing1#transport1#vector-database1

30 天从前端工程师到 Agent 工程师

D1 LLM API 基础:messages/roles、token、流式、temperature;Agent 到底是什么

  • 聊天机器人和 Agent 的本质区别是什么?What fundamentally separates a chatbot from an agent?
    国内高频海外高频基础#agent-basics

    分析过程 · 先想清楚再作答

    1. 这题最容易答成营销话术。判断标准很简单:你的回答里有没有出现「工程代价」,没有就是背概念。
    2. 先给结构:聊天是一问一答的单次调用;Agent 是在循环里反复「思考 → 调工具 → 观察」直到目标达成。
    3. 点出三个新增件——循环、工具、记忆——并强调关键差异是「工具能对外部世界产生副作用」,这是可逆与不可逆的分界线。
    4. 紧接着说代价:有副作用就要管权限与沙箱,有循环就要管步数与成本预算,有多步就要可观测性和失败重试。这一段才是面试官想听的。
    5. 用一个具体例子收尾(能查库、发消息、定时提醒的助手),并点出它背后需要队列、状态机、成本计量。

    How to reason about it · think before answering

    1. This one invites marketing language; the test is whether your answer names engineering costs.
    2. Give the structure first: a chatbot is one call, an agent loops think → act → observe until the goal is met.
    3. Name the three additions — loop, tools, memory — and stress that tools cause side effects on the world.
    4. Immediately pair each with its cost: permissions and sandboxing, step and budget caps, observability and retries.
    5. Close with a concrete example and the infrastructure it implies: queues, state machines, cost metering.

    答题要点

    • 聊天机器人是一问一答;Agent 是模型在一个循环里反复思考、调用工具、观察结果直到完成目标
    • 三个新增件:循环(多步)、工具(能对外界产生副作用)、记忆(跨轮次/跨会话)
    • 随之而来的工程问题:工具权限与沙箱、失败重试、成本与步数预算、可观测性
    • 举例:一个能查库、发消息、定时提醒的助手,背后要有消息队列、状态机和成本计量

    Key points

    • A chatbot answers once; an agent loops think → act (tool call) → observe until the goal is met
    • Three additions: a loop (multi-step), tools (side effects on the world), memory (across turns/sessions)
    • They bring engineering concerns: tool permissions and sandboxing, retries, step/cost budgets, observability
    • Example: an assistant that queries a DB, sends messages and schedules reminders needs queues, state machines and cost tracking