Example react-three-fiber app connected to a FastAPI backend that sits on top of LM Studio's inference server and serves open-source LLMs. User can prompt the model to generate React component called AIComponent that should include generated 3D primitives.
Install backend deps and start the server
cd backend
pip install -r requirements.txt
python server.pyIn another terminal window, install frontend deps and start client app
cd backend
pip install -r requirements.txt
python server.pyNow you can navigate to http://localhost:5137