feat:更新温度相关的内容

This commit is contained in:
Annyfee
2026-01-29 12:14:41 +08:00
parent d2648fc2a1
commit ffd7e9372b
2 changed files with 15 additions and 25 deletions
+15 -1
View File
@@ -26,4 +26,18 @@ LLM 调用|Prompt 编写与设计|多轮对话记忆|独立搭建智能体
✅ 掌握点:
- 多轮对话如何保持上下文
- Prompt 结构设计
- 记忆模块(Memory)的基本用法
- 记忆模块(Memory)的基本用法
---
### 3. `s03_llm_temperature`(温度参数对输出的影响)
演示不同 temperature 参数对 LLM 输出多样性和创造性的影响。
🔧 使用提示:
想测试不同温度参数的效果?
👉 直接修改代码中的 `temperature` 值即可(范围通常为 0-2)。
✅ 掌握点:
- temperature 参数的作用和影响
- 如何根据场景选择合适的温度值
- 低温度(稳定)与高温度(随机)输出的对比