From 4bd36e04605d02db429f6bab9ad83c4a0a834c24 Mon Sep 17 00:00:00 2001 From: Preston Badeer <467756+pbadeer@users.noreply.github.com> Date: Tue, 16 Apr 2024 06:20:56 -0500 Subject: [PATCH] Update LLM-Connections.md with up to date LM Studio instructions (#468) Co-authored-by: Preston Badeer <467756+pbadeer@users.noreply.github.com> --- docs/how-to/LLM-Connections.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/how-to/LLM-Connections.md b/docs/how-to/LLM-Connections.md index fc98fa7c0..54eedaa89 100644 --- a/docs/how-to/LLM-Connections.md +++ b/docs/how-to/LLM-Connections.md @@ -97,10 +97,10 @@ OPENAI_API_KEY=NA ``` #### LM Studio +Launch [LM Studio](https://lmstudio.ai) and go to the Server tab. Then select a model from the dropdown menu then wait for it to load. Once it's loaded, click the green Start Server button and use the URL, port, and API key that's shown (you can modify them). Below is an example of the default settings as of LM Studio 0.2.19: ```sh -OPENAI_API_BASE="http://localhost:8000/v1" -OPENAI_MODEL_NAME=NA -OPENAI_API_KEY=NA +OPENAI_API_BASE="http://localhost:1234/v1" +OPENAI_API_KEY="lm-studio" ``` #### Mistral API