Skip to content

A simple Unity script that sends a request to an LM Studio server, extracts content from the response, and logs the result.

Notifications You must be signed in to change notification settings

NutritionalYeet/Unity-LMStudioClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages