Skip to content

bioerrorlog/robot-gpt

Repository files navigation

Robot-GPT

CI

Robot with GPT as the brain.

Usage

Install dependencies:

pip install -r requirements.txt

Run the script:

# Set your OpenAI API key
export OPENAI_API_KEY="your_openai_api_key"

# Run the script
python -m robot_gpt.main

Running tests

# Install dev dependencies
pip install -r requirements-dev.txt

# Run camera tests (require a connected camera)
pytest -m 'camera'

# Run GPT API tests (Warning: The GPT API will be actually called. The API Key is required.)
pytest -s -m 'gpt'

# Run servo moter tests (require connected servo motors)
pytest -m 'servo'

# Run the all tests
pytest -m ''

About

Robot with GPT as the brain

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages