Skip to main content

LM Studio

LM Studio allows you to run local LLMs with an OpenAI-compatible server.

Basic Example​

client<llm> MyClient {
provider "openai-generic"
options {
base_url "http://localhost:1234/v1"
model "TheBloke/phi-2-GGUF"
}
}

BAML-Specific Options​

OptionTypeDefaultDescription
base_urlstring-http://localhost:1234/v1
modelstring-Model identifier

See LM Studio documentation for more information.

See Also​