apt update && apt upgrade -y apt install python-is-python3 python3-pip git -y
root@ct-autogpt:~# python3 --version Python 3.10.6 root@ct-autogpt:~# pip --version pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
git clone https://github.com/Torantulino/Auto-GPT.git cd Auto-GPT pip install -r requirements.txt
cp .env.template .env vi .env
將 OPENAI_API_KEY=your-openai-api-key 換成剛剛取得的 OpenAI Key Exp.
: ### OPENAI # OPENAI_API_KEY - OpenAI API Key (Example: my-openai-api-key) # TEMPERATURE - Sets temperature in OpenAI (Default: 1) # USE_AZURE - Use Azure OpenAI or not (Default: False) OPENAI_API_KEY=sk-lxhrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxzmbR :
root@ct-autogpt:~/Auto-GPT# python -m autogpt pymilvus not installed. Skipping import. Warning: The file 'auto-gpt.json' does not exist.Local memory would not be saved to a file. Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: AI-Code-Reviewer AI-Code-Reviewer here! I am at your service. Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.' AI-Code-Reviewer is: Yore primary responsibility is to analyze and evaluate code written for artificial intelligence systems to ensure that it meets industry standards and best practices. They review the code to identify potential errors, bugs, and security vulnerabilities, and provide feedback to developers on how to improve the code. Additionally, they ensure that the code conforms to organizational policies, regulations, and legal requirements. The AI Code Reviewer also collaborates with developers to implement changes and improvements to the code, and may be responsible for creating and maintaining documentation related to the code. Overall, the AI Code Reviewer plays a critical role in ensuring the quality, reliability, and safety of artificial intelligence systems. Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously' Enter nothing to load defaults, enter nothing when finished. Goal 1: get deploy-devops-lite source code from https://github.com/iii-org/deploy-devops-lite Goal 2: analysis code smell Goal 3: rewrite source code Goal 4: generate new source code files Goal 5: generate summary report to a file Using memory of type: LocalCache Using Browser: chrome - Thinking... : :
: Collecting black Downloading black-23.3.0-py3-none-any.whl (180 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.0/181.0 kB 6.2 MB/s eta 0:00:00 ERROR: Could not find a version that satisfies the requirement sourcery (from versions: none) ERROR: No matching distribution found for sourcery
apk update && apk upgrade apk add git python3 py3-pip
ct-autogpt:~# python3 --version Python 3.10.11 ct-autogpt:~# pip --version pip 22.3.1 from /usr/lib/python3.10/site-packages/pip (python 3.10)
git clone https://github.com/Torantulino/Auto-GPT.git cd Auto-GPT pip install -r requirements.txt :