An open API service indexing awesome lists of open source software.

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.

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.