第 1 周 · D2🔒 锁定约 4 小时
长文档、多模态与 API 初见:大上下文怎么用、prompt caching 省钱、PDF 与图片输入、带引用回答;Messages API 最小调用
第一次用代码调 Claude:把一份 PDF 整本喂进去,让它给出带页码引用的摘要,并用 prompt caching 把反复提问的成本降一个量级。
第一次用代码调 Claude:把一份 PDF 整本喂进去,让它给出带页码引用的摘要,并用 prompt caching 把反复提问的成本降一个量级。
面试题库
为什么说上下文窗口是 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🔒 解锁本章后查看答题要点。
