LM StudioLM Studio

Project Setup

Set up your lmstudio-js app or script.

Ask Bionic to read this page

Copy this prompt, open Bionic, and paste it into a new chat.

Read https://lmstudio.ai/docs/typescript/project-setup, I want to ask questions about it.

@lmstudio/sdk is a library published on npm that allows you to use lmstudio-js in your own projects. It is open source and it's developed on GitHub. You can find the source code here.

Creating a New node Project

Use the following command to start an interactive project setup:

lms create node-typescript

Add lmstudio-js to an Exiting Project

If you have already created a project and would like to use lmstudio-js in it, you can install it using npm, yarn, or pnpm.

npm install @lmstudio/sdk --save