MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.36k stars 492 forks source link

how to use mc_port #86

Closed IchBinsDerTimMC closed 11 months ago

IchBinsDerTimMC commented 1 year ago

Before submitting an issue, make sure you read the FAQ.md

Briefly describe your issue

i cant find the information for mc_port. Azure login is obvious but i cant find the method for mc_port.

xieleo5 commented 1 year ago

You can find it here

IchBinsDerTimMC commented 1 year ago

Yeah, i found that too but this is my code for example:

from voyager import Voyager azure_login = { "client_id": "YOUR_CLIENT_ID", "redirect_url": "https://127.0.0.1/auth-response", "secret_value": "[OPTIONAL] YOUR_SECRET_VALUE", "version": "fabric-loader-0.14.18-1.19", # the version Voyager is tested on } openai_api_key = "YOUR_API_KEY"

voyager = Voyager( azure_login=azure_login, openai_api_key=openai_api_key, ) voyager.learn()

if i remove the azure_login part:

from voyager import Voyager

openai_api_key = "YOUR_API_KEY"

voyager = Voyager( openai_api_key=openai_api_key, ) voyager.learn()

after i did this he said: Either mc_port or azure_login muste be specified. Where i can find the code base for mc_port? What i have to write in the code?

IchBinsDerTimMC commented 1 year ago

sorry if thats an obious question. I'm mainly not an programmer. Im just a YouTuber here in Germany who wants to show this ai. 😶

IchBinsDerTimMC commented 1 year ago

Nevermind. i got it. But now my bot just restarting. i read the FAQ and edit my code. I don't know what is wrong. (It is not the wrong "false" i changed it to "False") mine2 mine3

GoingMyWay commented 1 year ago

You can find it here

Hi, should we install the mods suggested by the Azure login mode even run the game in mc_port mode?

xieleo5 commented 1 year ago

@GoingMyWay Hi, both method needs to install the Fabric mods. It's essential for running the experiments.

GoingMyWay commented 1 year ago

@GoingMyWay Hi, both method needs to install the Fabric mods. It's essential for running the experiments.

Thanks. I have already installed the required Fabric mods. @xieleo5 By the way, do you have Discord group of MineDojo and Voyager users? It would be great for users to discuss and share ideas.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.