From 6a15c0c517a00695ecbe7ef7e8b549138d2a8c09 Mon Sep 17 00:00:00 2001 From: Ho Duc Hieu <150573299+hieu-jan@users.noreply.github.com> Date: Wed, 3 Jan 2024 21:20:08 +0700 Subject: [PATCH] docs: finalize integrate with remote server --- .../03-integrate-with-remote-server.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/guides/04-using-models/03-integrate-with-remote-server.mdx b/docs/docs/guides/04-using-models/03-integrate-with-remote-server.mdx index 2db735544..05327d477 100644 --- a/docs/docs/guides/04-using-models/03-integrate-with-remote-server.mdx +++ b/docs/docs/guides/04-using-models/03-integrate-with-remote-server.mdx @@ -85,15 +85,15 @@ In this section, we will show you how to configure a client connection to a remo ### 1. Configure a Client Connection -Navigate to the `~/jan/engines` folder and modify the `openai.json` file. Please note that at the moment the code that supports any openai compatible endpoint only read `engine/openai.json` file, thus, it will not search any other files in this directory. +Navigate to the `~/jan/engines` folder and modify the `openai.json` file. Please note that at the moment the code that supports any openai compatible endpoint only reads `engine/openai.json` file, thus, it will not search any other files in this directory. -Configure `full_url` properties with the endpoint server that you want to connect. For example, if you want to connect to Jan's API server, you can configure as follows: +Configure `full_url` properties with the endpoint server that you want to connect. For example, if you want to connect to Jan's API server, you can configure it as follows: ```js { // highlight-start - // "full_url": "http://:/v1/chat/completions" - "full_url": "http://:1337/v1/chat/completions", + // "full_url": "https://:/v1/chat/completions" + "full_url": "https://:1337/v1/chat/completions", // highlight-end // Skip api_key if your local server does not require authentication // "api_key": "sk-" @@ -145,4 +145,4 @@ Restart Jan and navigate to the Hub. Locate your model and click the Use button. ## Assistance and Support -If you have questions or are looking for more preconfigured GGUF models, please feel free to join our [Discord community](https://discord.gg/Dt7MxDyNNZ) for support, updates, and discussions. \ No newline at end of file +If you have questions or are looking for more preconfigured GGUF models, please feel free to join our [Discord community](https://discord.gg/Dt7MxDyNNZ) for support, updates, and discussions.