Skip to content

fix(chapter4): Fix the bigmodel to answer "latest" questions based on… - #832

Open
yunzhi wants to merge 1 commit into
datawhalechina:mainfrom
yunzhi:feat/feat_react.py
Open

fix(chapter4): Fix the bigmodel to answer "latest" questions based on…#832
yunzhi wants to merge 1 commit into
datawhalechina:mainfrom
yunzhi:feat/feat_react.py

Conversation

@yunzhi

@yunzhi yunzhi commented Aug 21, 2026

Copy link
Copy Markdown

当大模型时间训练数据截止时间远早于当前时间时,可以通过在提示词中加入当前时间使搜素引擎服务搜索最新的消息。

例如我使用的 qwen3.7-max 模型 训练数据截止时间是 2025年4月,在执行 ReAct.py 时打印
Action: Search[华为最新款手机 2024]

修改后打印:
Action: Search[华为最新款手机 2026]

最终结果就比较符合常识了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant