fix(chapter4): Fix the bigmodel to answer "latest" questions based on… - #832
Open
yunzhi wants to merge 1 commit into
Open
fix(chapter4): Fix the bigmodel to answer "latest" questions based on…#832yunzhi wants to merge 1 commit into
yunzhi wants to merge 1 commit into
Conversation
… the training data cut-off time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当大模型时间训练数据截止时间远早于当前时间时,可以通过在提示词中加入当前时间使搜素引擎服务搜索最新的消息。
例如我使用的 qwen3.7-max 模型 训练数据截止时间是 2025年4月,在执行 ReAct.py 时打印
Action: Search[华为最新款手机 2024]
修改后打印:
Action: Search[华为最新款手机 2026]
最终结果就比较符合常识了