mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 09:16:21 +02:00
Fallback to a version that only uses "Refine" and update the prompt for ActionNode
This commit is contained in:
parent
6743a4f3b1
commit
6d9dfa73aa
5 changed files with 47 additions and 13 deletions
|
|
@ -176,6 +176,32 @@ MMC2 = """sequenceDiagram
|
|||
S-->>SE: return summary
|
||||
SE-->>M: return summary"""
|
||||
|
||||
MMC2_INC = """sequenceDiagram
|
||||
participant M as Main
|
||||
participant SE as SearchEngine
|
||||
participant I as Index
|
||||
participant R as Ranking
|
||||
participant S as Summary
|
||||
participant KB as KnowledgeBase
|
||||
M->>SE: search(query)
|
||||
SE->>I: query_index(query)
|
||||
I->>KB: fetch_data(query)
|
||||
KB-->>I: return data
|
||||
I-->>SE: return results
|
||||
SE->>R: rank_results(results)
|
||||
R-->>SE: return ranked_results
|
||||
SE->>S: summarize_results(ranked_results)
|
||||
S-->>SE: return summary
|
||||
SE-->>M: return summary
|
||||
M->>SE: newMethod() # Incremental change
|
||||
SE->>I: newMethod() # Incremental change
|
||||
I->>KB: newMethod() # Incremental change
|
||||
KB-->>I: newMethod() # Incremental change
|
||||
SE->>R: newMethod() # Incremental change
|
||||
R-->>SE: newMethod() # Incremental change
|
||||
SE->>S: newMethod() # Incremental change
|
||||
S-->>SE: newMethod() # Incremental change
|
||||
SE-->>M: newMethod() # Incremental change"""
|
||||
|
||||
if __name__ == "__main__":
|
||||
loop = asyncio.new_event_loop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue