知识卡片
工具定义应明确能力与参数
工具列表至少需要名称、用途、输入参数及限制,让模型能区分实时搜索、百科、计算和文件操作。描述应体现适用情境及副作用,不能用含糊名称期待模型总能选对;有工具描述也不代表具备实际执行权限。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 外部工具与智能体
原书出处 · 1 处
- · 查看原书依据
First, we need to make the LLM aware that it has access to these tools. One of the ways to achieve this is to provide the names and short descriptions of the tools, called the tool list, to the LLM through the system prompt.
参考来源
- 位置:《Designing Large Language Model Applications》第10章《外部工具与智能体》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch10.html)
- 结论依据:摘录中关于工具定义应明确能力与参数的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:First, we need to make the LLM aware that it has access to these tools. One of the ways to achieve this is to provide the names and short descriptions of the tools, called the tool list, to the LLM through the system prompt.