逐日AI微信小程序
Claude 高效使用:从对话到 Claude Code
第 1 周 · D2🔒 锁定约 4 小时

长文档、多模态与 API 初见:大上下文怎么用、prompt caching 省钱、PDF 与图片输入、带引用回答;Messages API 最小调用

第一次用代码调 Claude:把一份 PDF 整本喂进去,让它给出带页码引用的摘要,并用 prompt caching 把反复提问的成本降一个量级。

今日目标 0/3

登录后可以勾选并保存进度。

第一次用代码调 Claude:把一份 PDF 整本喂进去,让它给出带页码引用的摘要,并用 prompt caching 把反复提问的成本降一个量级。

登录并关联后阅读全文

请先登录网页,并在账户页关联微信小程序账号。关联后每天可免费阅读 1 篇;额外文章需在小程序看广告解锁。

小程序码

微信扫码打开「逐日AI」,进入相同课程和章节,选择看广告解锁,完成后刷新本页。

面试题库

  • 为什么说上下文窗口是 LLM 应用里最稀缺的资源?窗口已经有一百万 token 了,这个说法还成立吗?Why is the context window called the scarcest resource in LLM applications? With million-token windows, does that still hold?
    国内高频海外高频基础#context-window#cost

    🔒 解锁本章后查看答题要点。

  • prompt caching 省在哪?什么情况下反而不省?线上发现缓存命中率是零,你怎么排查?Where does prompt caching save money, when does it cost more, and how do you debug a zero cache-hit rate in production?
    国内高频海外高频进阶#prompt-caching#cost

    🔒 解锁本章后查看答题要点。

  • citations 和在提示词里要求模型「引用原文并注明页码」有什么本质区别?什么场景下不能用 citations?How do API citations fundamentally differ from prompting the model to quote sources with page numbers, and when can't you use them?
    国内高频海外高频进阶#citations#grounding

    🔒 解锁本章后查看答题要点。

评论