You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
为什么使用AgentSkill.run的时候run一定会调用skill,即使我的query
和skill不相关。不能提供参数过滤掉阈值低的skill吗
一、我的代码
就是调用ms_agent.agent.agent_skill.py 中的AgentSkill.run方法
1、调用:agent.run(query=query)
二、分析
1、源码中进行语义检索
relevant_skills = self.retriever.retrieve(
query=query,
method='semantic',
top_k=5,
)
2、代码中,除非我本身一个skill都没有,不然一定会返回topk个skill
Beta Was this translation helpful? Give feedback.
All reactions