geekan / MetaGPT

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
https://deepwisdom.ai/
MIT License
41.33k stars 4.93k forks source link

research output blank .md file #1327

Closed HeMuling closed 3 weeks ago

HeMuling commented 3 weeks ago

使用research时最终输出的md文件是空白的,但在log里不是

命令:

(metagpt)  he_muling@HeMuling-MacBook-Pro  /path/to/folder  python3 -m metagpt.roles.researcher "cognitive neuroscience"

输出 image

log中最后的内容为:

### Requirements
Please remove irrelevant search results that are not related to the query or topic. Then, sort the remaining search results based on the link credibility. If two results have equal credibility, prioritize them based on the relevance. Provide the
ranked results' indices in JSON format, like [0, 1, 3, 4, ...], without including other words.

2024-06-06 03:16:45.539 | DEBUG    | metagpt.provider.base_llm:aask:151 - [{'role': 'system', 'content': 'You are a Researcher, named David, your goal is Gather information and conduct research. the constraint is Ensure accuracy and relevance of information. '}, {'role': 'user', 'content': '### Topic\ncognitive neuroscience\n### Query\nHow do different brain regions interact to control working memory and attention?\n\n### The online search results\n0: {\'link\': \'https://www.nature.com/articles/s41586-021-03390-w\', \'snippet\': \'Cognitive control guides behaviour by controlling what, when, and how information is represented in the brain 1. For example, attention controls sensory processing; top-down signals from ...\', \'title\': \'Shared mechanisms underlie the control of working memory and attention ...\'}\n1: {\'link\': \'https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10410470/\', \'snippet\': \'This paper explores memory from a cognitive neuroscience perspective and examines associated neural mechanisms. It examines the different types of memory: working, declarative, and non-declarative, and the brain regions involved in each type. The paper highlights the role of different brain regions, such as the prefrontal cortex in working ...\', \'title\': \'Cognitive neuroscience perspective on memory: overview and summary\'}\n2: {\'link\': \'https://www.princeton.edu/news/2021/03/31/attention-and-working-memory-two-sides-same-neural-coin\', \'snippet\': \'Image courtesy of Buschman Lab. "It is an important paper," said Massachusetts Institute of Technology neuroscientist Earl Miller, who was not involved in this research. "Attention and working memory have often been discussed as being two sides of the same coin, but that has mainly been lip service. This paper shows how true this is and ...\', \'title\': \'Attention and working memory: Two sides of the same neural coin?\'}\n3: {\'link\': \'https://www.nature.com/articles/s41467-021-23509-x\', \'snippet\': \'Control processes associated with working memory play a central role in human cognition, but their underlying dynamic brain circuit mechanisms are poorly understood. Here we use system ...\', \'title\': \'Dynamic causal brain circuits during working memory and their ... - Nature\'}\n4: {\'link\': \'https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4605545/\', \'snippet\': \'A different possible working memory mechanism, ... - Many brain regions interact during working memory and include "executive" regions in the PFC, parietal cortex, and basal ganglia, as well as regions specialized for processing the particular representations to be maintained, such as the fusiform face area for maintaining face ...\', \'title\': \'Neurocognitive architecture of working memory - PMC\'}\n5: {\'link\': \'https://pubmed.ncbi.nlm.nih.gov/31517246/\', \'snippet\': \'Theories conceptualizing attention as a resource assume that this resource is responsible for the limited capacity of working memory. Three versions of this idea have been proposed: Attention as a resource for storage and processing, a shared resource for perceptual attention and memory maintenance, and a resource for the control of attention.\', \'title\': \'Working Memory and Attention - A Conceptual Analysis and Review\'}\n6: {\'link\': \'https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2018.00401/full\', \'snippet\': \'The Diseased Brain and Working Memory. Age is not the only factor influencing working memory. In recent studies, working memory deficits in populations with mental or neurological disorders were also being investigated (see Table 3).Having identified that the working memory circuitry involves the fronto-parietal region, especially the prefrontal and parietal cortices, in a healthy functioning ...\', \'title\': \'Frontiers | Working Memory From the Psychological and Neurosciences ...\'}\n7: {\'link\': \'https://www.nature.com/articles/d41586-024-00963-3\', \'snippet\': \'Neuroscientists have discovered that neurons in the frontal and temporal lobes work together to hold information in working memory. Working memory is a fundamental cognitive process that allows us ...\', \'title\': \'Coupled neural activity controls working memory in humans - Nature\'}\n\n### Requirements\nPlease remove irrelevant search results that are not related to the query or topic. Then, sort the remaining search results based on the link credibility. If two results have equal credibility, prioritize them based on the relevance. Provide the\nranked results\' indices in JSON format, like [0, 1, 3, 4, ...], without including other words.\n'}]
2024-06-06 03:16:46.650 | INFO     | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.030 | Max budget: $10.000 | Current cost: $0.005, prompt_tokens: 958, completion_tokens: 18
2024-06-06 03:16:46.651 | DEBUG    | metagpt.roles.role:_set_state:325 - actions=[CollectLinks, WebBrowseAndSummarize, ConductResearch], state=-1

Environment information

完整的log: 20240606.txt