/playdate-puppy-llm

A LLM interface that pays homage to rabbit r1 on Playdate.

Primary LanguageLuaThe UnlicenseUnlicense

header.jpg

Puppy

A LLM interface that pays homage to rabbit r1 on Playdate.

Warning

The project is in the early and experimental stages and may be very unstable and unavailable.

how to run

Desktop side setting

  1. Download code: via Code - Download ZIP
  2. Install python
  3. Navigate to the server directory
  4. Configure your LLM api: Create config.json in server directory with the following content (openai compatible format, You can find it in the development documents of various LLM provider.)
{
    "open_ai_base_url" : "https://YourLLMServiceAPIBaseUrl",
    "open_ai_api_key" : "your api key",
    "open_ai_modelname" : "api model name, like llama3-70b-8192"
}
  1. Install python dependencies pip install -r requirements.txt
  2. Run python server.py, start the service (By default it will run at http://127.0.0.1:5001/llmproxy)

Playdate setting

  1. Download pdx in release and sideload it to your playdate
  2. Open puppy on playdate
  3. Connect playdate to the computer via USB, open https://pdportal.net/ on the desktop browser, and click connect (make sure the playdate emulator is not opened, etc. to occupy its USB port program of)
  4. If everything goes well, communication should be possible!

how to use

  • hold down button and rotate playdate to change modes

Big thanks to