https://github.com/nutritionalyeet/unity-lmstudioclient
A simple Unity script that sends a request to an LM Studio server and logs the response.
https://github.com/nutritionalyeet/unity-lmstudioclient
ai large-language-model lmstudio unity unity-scripts unity2d unity3d
Last synced: about 2 months ago
JSON representation
A simple Unity script that sends a request to an LM Studio server and logs the response.
- Host: GitHub
- URL: https://github.com/nutritionalyeet/unity-lmstudioclient
- Owner: NutritionalYeet
- Created: 2025-01-29T18:44:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-29T19:43:46.000Z (over 1 year ago)
- Last Synced: 2025-01-29T20:34:20.262Z (over 1 year ago)
- Topics: ai, large-language-model, lmstudio, unity, unity-scripts, unity2d, unity3d
- Language: C#
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Attach LMStudioClient.cs to a GameObject in a Unity scene. Fill out the URL field. This, along with the System Prompt and User Prompt, are adjustable in the inspector.
On Start(), the script will immediately attempt to make a request unless you disable this behavior. Check the Unity console for successful output.
Ensure the LM Studio server is running first. On Mac, go to the "Local Server" tab in LM Studio, and look for the green "Start Server" button (assuming LM Studio Version 0.2.24 (0.2.24)). You can also find the URL/endpoint in this tab.