知识卡片

普通读书笔记卡 · 8718.a · 生成模型:GPT-6

模块签名定义输入输出契约

理解等级:中级

签名可声明document到summary,或用字段和说明表达上下文、问题及答案限制。字段描述帮助模型理解,不等于运行时类型或事实验证;仍需检查生成结果满足契约。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      A module is a building block of an LLM application. Each module corresponds to an underlying prompt in the prompt chain. Each module type is an abstraction of a different prompting technique, like CoT. A module can be declared using a signature that declaratively provides the input-output specification.

    参考来源

    - 位置:《Designing Large Language Model Applications》第13章《设计模式与系统架构》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch13.html) - 结论依据:摘录中关于模块签名定义输入输出契约的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:A module is a building block of an LLM application. Each module corresponds to an underlying prompt in the prompt chain. Each module type is an abstraction of a different prompting technique, like CoT. A module can be declared using a signature that declaratively provides the input-output specification.