-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minion #1441
base: main
Are you sure you want to change the base?
Minion #1441
Conversation
examples/smart_minion/brain.py
Outdated
|
||
obs, score, *_ = await brain.step(query="what's the solution 234*568") | ||
# obs, score,*_ = await brain.step(query="what's the solution for game of 24 for 4 3 9 8") | ||
# obs, score,*_ = await brain.step(query="what's the solution for game of 24 for 2 5 11 8") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单纯好奇,这个套方法做Game24正确率高吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你自己试啊,我这些都是可以跑的。
我这两个例子都是100%
) | ||
|
||
|
||
ASK_PROMPT = """context: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
数量较多的 PROMPT 与 TEMPLATE 不然另开一个文件?
metagpt/minion/minion.py
Outdated
{input.query} | ||
""" | ||
|
||
ASK_PROMPT2 = """context: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
能否换一个命名,阐述ASK_PROMPT与ASK_PROMPT2的差异
metagpt/minion/minion.py
Outdated
|
||
plan = await ActionNode.from_pydantic(Plan).fill(context=filled_template, llm=self.brain.llm, schema="raw") | ||
|
||
plan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是不是多写了,以及下面大段注释可以删一下
ASK_PROMPT | ||
+ """ | ||
|
||
also please check previous error, do the modification according to previous error if there's previous error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre commit 格式化一下
Mind( | ||
id="left_mind", | ||
description=""" | ||
I'm the left mind, adept at logical reasoning and analytical thinking. I excel in tasks involving mathematics, language, and detailed analysis. My capabilities include: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式化
Features
Minion Design
Check examples/smart_minion/brain.py
you can try all different example, I just comment them out.
Depends on intercode
make sure container name intercode-python_ic_ctr is listenning on 3006, the PythonEnv seemed start the container, but can't map port
Feature Docs
Influence
Result
Other