-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
metagpt 0.8.1开发版本跑狼人杀示例代码报错from llama_index.vector_stores.milvus import MilvusVectorStore ModuleNotFoundError: No module named 'llama_index.vector_stores.milvus' #1653
Comments
This is my runtime log, which was interrupted by OpenAI's anti-abuse policy.
2025-01-02 22:11:32.012 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 678, completion_tokens: 35 {
"ROLE": "Werewolf",
"PLAYER_NAME": "Player4",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:34.841 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 731, completion_tokens: 36 {
"ROLE": "Werewolf",
"PLAYER_NAME": "Player7",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:37.729 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 738, completion_tokens: 36 {
"ROLE": "Witch",
"PLAYER_NAME": "Player6",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:40.694 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 653, completion_tokens: 36 {
"ROLE": "Witch",
"PLAYER_NAME": "Player6",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:43.945 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 797, completion_tokens: 36 {
"ROLE": "Seer",
"PLAYER_NAME": "Player1",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:47.135 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 693, completion_tokens: 36 {
"ROLE": "Villager",
"PLAYER_NAME": "Player2",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:50.154 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 693, completion_tokens: 36 {
"ROLE": "Villager",
"PLAYER_NAME": "Player2",
"LIVING_PLAYERS": ["Player3", "Player4", "Player5", "Player6", "Player7"],
"THOUGHTS": "My step-by-step thought process: 1. I need to analyze the behavior of the other living players to identify any suspicious actions that may indicate they are werewolves. 2. I should consider whether revealing my identity as a Villager would help build trust or if it might put me at risk of being targeted. 3. I will focus on discussing the actions and statements of the other players to gather more information before deciding on a vote.",
"RESPONSE": "I believe we need to be cautious and gather more information before making a decision. Let's discuss what we've observed about each other, as it may help us identify the werewolves among us."
} 2025-01-02 22:11:52.712 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 664, completion_tokens: 191 {
"ROLE": "Villager",
"PLAYER_NAME": "Player3",
"GAME_STATES": [],
"REFLECTION": ""
} 2025-01-02 22:11:53.943 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 733, completion_tokens: 36 {
"ROLE": "Villager",
"PLAYER_NAME": "Player3",
"LIVING_PLAYERS": ["Player2", "Player3", "Player4", "Player5", "Player6", "Player7"],
"THOUGHTS": "My step-by-step thought process: 1. I need to gather information from the other players to identify any suspicious behavior that might indicate the presence of werewolves. 2. I should weigh the benefits of revealing my identity; if I do, it may help build trust with the other villagers, but it could also make me a target for the werewolves. 3. I will focus on listening to the discussions and try to identify any inconsistencies in the claims made by other players, especially those who might be falsely claiming to be villagers.",
"RESPONSE": "I believe that we should take a cautious approach and discuss our observations. I am a Villager, and I want to encourage everyone to share their thoughts so we can work together to identify the werewolves. Let's focus on gathering information before making any hasty decisions."
} 2025-01-02 22:11:56.664 | INFO | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 704, completion_tokens: 231
|
试了可以,感谢~ |
from llama_index.vector_stores.milvus import MilvusVectorStore ModuleNotFoundError: No module named 'llama_index.vector_stores.milvus'
执行 pip install llama-index-vector-stores-milvus 后报错
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
llama-index-embeddings-azure-openai 0.1.6 requires llama-index-core<0.11.0,>=0.10.11.post1, but you have llama-index-core 0.12.9 which is incompatible.
llama-index-embeddings-gemini 0.1.6 requires llama-index-core<0.11.0,>=0.10.11.post1, but you have llama-index-core 0.12.9 which is incompatible.
将 llama-index-core降级后又报版本冲突llama-index-vector-stores-milvus 0.5.0 requires llama-index-core<0.13.0,>=0.12.0, but you have llama-index-core 0.10.11.post1 which is incompatible.
The text was updated successfully, but these errors were encountered: