Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔍 chore: Clean Up Documentation (#2217)
Danny Avila7f83a060a082
diff --git a/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js b/api/server/services/Endpoints/gptPlugins/initializeClient.spec.jsindex 1b7147d9f7..280acf5aad 100644--- a/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js+++ b/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js@@ -338,7 +338,6 @@ describe('gptPlugins/initializeClient', () => {});test('should initialize client with default options when certain env vars are not set', async () => {- delete process.env.DEBUG_OPENAI;delete process.env.OPENAI_SUMMARIZE;process.env.OPENAI_API_KEY = 'some-api-key';@@ -351,8 +350,6 @@ describe('gptPlugins/initializeClient', () => {const endpointOption = {};const client = await initializeClient({ req, res, endpointOption });-- expect(client.client.options.debug).toBe(false);expect(client.client.options.contextStrategy).toBe(null);});diff --git a/docs/contributions/documentation_guidelines.md b/docs/contributions/documentation_guidelines.mdindex 98fcbb160b..3dc411d39c 100644--- a/docs/contributions/documentation_guidelines.md+++ b/docs/contributions/documentation_guidelines.md@@ -26,6 +26,8 @@ This document explains how to contribute to the LibreChat documentation by writi- Use relative paths for links to other documents.- You can use HTML to add additional features to a document.- Highlight keystrokes with `+` (example: `++ctrl+alt+del++` 🟰 ++ctrl+alt+del++)+- Make sure any HTML has closing tags; i.e.: `<img src="" />` or `<a href="link"></a>`+- [HTML comments](https://www.w3schools.com/html/html_comments.asp) are not allowed. Use [Markdown comments](https://gist.github.com/jonikarppinen/47dc8c1d7ab7e911f4c9?permalink_comment_id=4272770#gistcomment-4272770) instead, and only if the text is actually hidden.- 🌐 see the MKDocs Material documentation for more information: [MKDocs Material Reference](https://squidfunk.github.io/mkdocs-material/reference/)## Document Metadata@@ -108,7 +110,7 @@ mkdocs serve```html title="HTML Code"<p align="center"><a href="https://discord.librechat.ai">- <img src="https://github.com/danny-avila/LibreChat/assets/32828263/45890a7c-5b8d-4650-a6e0-aa5d7e4951c3" height="128" width="128">+ <img src="https://github.com/danny-avila/LibreChat/assets/32828263/45890a7c-5b8d-4650-a6e0-aa5d7e4951c3" height="128" width="128"/></a><a href="https://librechat.ai"><h3 align="center">LibreChat</h3>@@ -119,7 +121,7 @@ mkdocs serve!!! quote "Result:"<p align="center"><a href="https://discord.librechat.ai">- <img src="https://github.com/danny-avila/LibreChat/assets/32828263/45890a7c-5b8d-4650-a6e0-aa5d7e4951c3" height="128" width="128">+ <img src="https://github.com/danny-avila/LibreChat/assets/32828263/45890a7c-5b8d-4650-a6e0-aa5d7e4951c3" height="128" width="128"/></a><a href="https://librechat.ai"><h3 align="center">LibreChat</h3>diff --git a/docs/contributions/testing.md b/docs/contributions/testing.mdindex 9401165de5..60a608f417 100644--- a/docs/contributions/testing.md+++ b/docs/contributions/testing.md@@ -23,25 +23,3 @@ cp .env.example ./api/.env-<!-- ## WIP--## Run the tests--#### 1. Install the global dependencies-- ```shell- npm ci- npx playwright install --with-deps- ```--#### 2. Run tests-- ```shell- npx playwright test- ```--If everything goes well, you should see a `passed` message.-- -->--diff --git a/docs/deployment/cloudflare.md b/docs/deployment/cloudflare.mdindex b380a3b70b..edde4e4539 100644--- a/docs/deployment/cloudflare.md+++ b/docs/deployment/cloudflare.md@@ -3,7 +3,7 @@ title: ☁️ Cloudflaredescription: How to setup a domain with Cloudflare and use Cloudflare Tunnels to securely expose your local web servers or services to the internet.weight: 10----<img src="https://github.com/danny-avila/LibreChat/assets/32828263/cfbc7ca5-b51e-4f1d-aa89-b9b4cb13eead" width="350">+<img src="https://github.com/danny-avila/LibreChat/assets/32828263/cfbc7ca5-b51e-4f1d-aa89-b9b4cb13eead" width="350"/># Cloudflare### if you are new to Domain, here's a quick guide to use setup a domain with Cloudflare:diff --git a/docs/deployment/linode.md b/docs/deployment/linode.mdindex ae9394455c..f8cc9a96df 100644--- a/docs/deployment/linode.md+++ b/docs/deployment/linode.md@@ -3,7 +3,7 @@ title: 🐧 Linodedescription: How to deploy LibreChat on Linode.weight: -8----<img src="https://github.com/danny-avila/LibreChat/assets/32828263/d6e430db-518a-4779-83d3-a2d177907df1" width="250">+<img src="https://github.com/danny-avila/LibreChat/assets/32828263/d6e430db-518a-4779-83d3-a2d177907df1" width="250"/># Linodediff --git a/docs/deployment/railway.md b/docs/deployment/railway.mdindex 638ce1ab7f..1533f2beb8 100644--- a/docs/deployment/railway.md+++ b/docs/deployment/railway.md@@ -18,7 +18,7 @@ Go to the [LibreChat repository](https://github.com/danny-avila/LibreChat) on Gi<p align="left"><a href="https://railway.app/template/b5k2mn?referralCode=HI9hWz">- <img src="https://railway.app/button.svg" alt="Deploy on Railway" height="30">+ <img src="https://railway.app/button.svg" alt="Deploy on Railway" height="30"/></a></p>diff --git a/docs/features/manage_your_database.md b/docs/features/manage_your_database.mdindex a8c5258044..ea896325e1 100644--- a/docs/features/manage_your_database.md+++ b/docs/features/manage_your_database.md@@ -4,7 +4,7 @@ description: How to install and configure Mongo Express to securely access and mweight: -5----<img src="https://github.com/danny-avila/LibreChat/assets/32828263/4572dd35-8489-4cb1-a968-4fb5a871d6e5" height="50">+<img src="https://github.com/danny-avila/LibreChat/assets/32828263/4572dd35-8489-4cb1-a968-4fb5a871d6e5" height="50"/># Manage Your MongoDB Database with Mongo Expressdiff --git a/docs/features/plugins/chatgpt_plugins_openapi.md b/docs/features/plugins/chatgpt_plugins_openapi.mdindex 7bf8a04a0e..30dc3e7c19 100644--- a/docs/features/plugins/chatgpt_plugins_openapi.md+++ b/docs/features/plugins/chatgpt_plugins_openapi.md@@ -11,21 +11,6 @@ To learn more about them, or how to make your own, read here: **[ChatGPT PluginsThanks to the introduction of **[OpenAI Functions](https://openai.com/blog/function-calling-and-other-api-updates)** and their utilization in **[Langchain](https://js.langchain.com/docs/modules/chains/openai_functions/openapi)**, it's now possible to directly use OpenAI Plugins through LibreChat, without building any custom langchain tools. The main use case we gain from integrating them to LibreChat is to allow use of plugins with gpt-3.5 models, and without ChatGPT Plus. They also find a great use case when you want to limit your own private API's interactions with chat.openai.com and their servers in favor of a self-hosted LibreChat instance.-<!-- ### Table of Contents-- [Using official ChatGPT Plugins / OpenAPI specs](#using-official-chatgpt-plugins--openapi-specs)- - [Table of Contents](#table-of-contents)- - [Intro](#intro)- - [**Plugin Manifest File:**](#plugin-manifest-file)- - [**OpenAPI Spec**](#openapi-spec)- - [Adding a Plugin](#adding-a-plugin)- - [Editing Manifest Files](#editing-manifest-files)- - [Override Parameter Values](#override-parameter-values)- - [Add Header Fields](#add-header-fields)- - [Custom OpenAPI Spec files](#custom-openapi-spec-files)- - [Plugins with Authentication](#plugins-with-authentication)- - [Showcase](#showcase)- - [Disclaimers](#disclaimers) -->-## IntroBefore continuing, it's important to fully distinguish what a Manifest file is vs. an OpenAPI specification.diff --git a/docs/features/plugins/google_search.md b/docs/features/plugins/google_search.mdindex 0b575414f2..c5964aa887 100644--- a/docs/features/plugins/google_search.md+++ b/docs/features/plugins/google_search.md@@ -13,10 +13,7 @@ GOOGLE_CSE_ID="...."You first need to create a programmable search engine and get the search engine ID: **[https://developers.google.com/custom-search/docs/tutorial/creatingcse](https://developers.google.com/custom-search/docs/tutorial/creatingcse)**-Then you can get the API key, click the "Get a key" button on this page: **[https://developers.google.com/custom-search/v1/introduction](https://developers.google.com/custom-search/v1/introduction)**--<!-- You can limit the max price that is charged for a single search request by setting `MAX_SEARCH_PRICE` in your `.env` file. -->-+Then you can get the API key, click the "Get a key" button on this page: **[https://developers.google.com/custom-search/v1/introduction](https://developers.google.com/custom-search/v1/introduction)**## 1\. Go to the [Programmable Search Engine docs](https://developers.google.com/custom-search/docs/tutorial/creatingcse) to get a Search engine IDdiff --git a/docs/features/presets.md b/docs/features/presets.mdindex 5ea6ee3ab6..604ca77e3f 100644--- a/docs/features/presets.md+++ b/docs/features/presets.md@@ -77,7 +77,7 @@ To export a preset, first go in the preset menu, then click on the button to ediThen in the bottom of the preset settings you'll have the option to export it.<p align="left">- <img src="https://github.com/danny-avila/LibreChat/assets/32828263/a624345f-e3e6-4192-8384-293ba6ce54cc" width="50%">+ <img src="https://github.com/danny-avila/LibreChat/assets/32828263/a624345f-e3e6-4192-8384-293ba6ce54cc" width="50%"/></p>## Setting Default Presetdiff --git a/docs/features/third_party.md b/docs/features/third_party.mdindex 0f28997455..65e0c24949 100644--- a/docs/features/third_party.md+++ b/docs/features/third_party.md@@ -16,7 +16,7 @@ weight: -2The LibreChat-DiscordBot is a versatile and user-friendly Discord bot designed to streamline interactions with your LibreChat server. With this bot, you can effortlessly manage the LibreChat server directly from your Discord server, eliminating the need for direct server access. It offers an array of functionalities to enhance your LibreChat experience.<div>-<img src="https://github.com/fuegovic/LibreChat/assets/32828263/d3841040-64d0-402f-95a5-8eb07bfbbfe5" width=400>+<img src="https://github.com/fuegovic/LibreChat/assets/32828263/d3841040-64d0-402f-95a5-8eb07bfbbfe5" width=400 /></div>---@@ -26,8 +26,8 @@ The LibreChat-DiscordBot is a versatile and user-friendly Discord bot designed tThis app is a webview for LibreChat instance Android independent app, this project is forked from ChatGPT-android-app. Default webpage of this app has been set to LibreChat's GitHub Page. This app is optimized for LibreChat's function which is not an original project. For example, Social Login Oauth login support is added to this build.<div>-<img src="https://github.com/fuegovic/LibreChat/assets/32828263/2da13b4c-8d77-42fc-9d36-75e9913d0545" width=300>-<img src="https://github.com/fuegovic/LibreChat/assets/32828263/6ec84228-f030-4aa9-9f9d-d81245dd9c03" width=300>+<img src="https://github.com/fuegovic/LibreChat/assets/32828263/2da13b4c-8d77-42fc-9d36-75e9913d0545" width=300 />+<img src="https://github.com/fuegovic/LibreChat/assets/32828263/6ec84228-f030-4aa9-9f9d-d81245dd9c03" width=300 /></div>---@@ -45,7 +45,7 @@ This script automates the local Windows 64 bits installation and offers a utilitA Terraform setup to deploy LibreChat to Azure and setup all the necessary services.<div>-<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Microsoft_Azure.svg/1280px-Microsoft_Azure.svg.png" width=150>+<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Microsoft_Azure.svg/1280px-Microsoft_Azure.svg.png" width=150 /></div>---diff --git a/docs/index.md b/docs/index.mdindex 4026f691a9..ee7bf3ab62 100644--- a/docs/index.md+++ b/docs/index.md@@ -9,7 +9,6 @@ weight: -10<img src="assets/LibreChat.svg" style="margin-left: 40px; height: 256px; width: 256px;></a><a href="https://librechat.ai">- <!-- Use the margin-top property to add some space between the image and the text --><h1 align="center" style="padding: 0;">LibreChat</h1></a></p>diff --git a/docs/install/configuration/ai_endpoints.md b/docs/install/configuration/ai_endpoints.mdindex 3fcb343a2a..62053ce378 100644--- a/docs/install/configuration/ai_endpoints.md+++ b/docs/install/configuration/ai_endpoints.md@@ -21,7 +21,7 @@ Some of the endpoints are marked as **Known,** which means they might have speci- **Known:** icon provided.-- **Temperature:** If you set a temperature value of 0, it will be converted to 1e-8. If you run into any issues, please try setting the value to a float32 > 0 and <= 2.+- **Temperature:** If you set a temperature value of 0, it will be converted to 1e-8. If you run into any issues, please try setting the value to a float32 greater than 0 and less than or equal to 2.- Groq is currently free but rate limited: 10 queries/minute, 100/hour.diff --git a/docs/install/configuration/ai_setup.md b/docs/install/configuration/ai_setup.mdindex 1a2339fe3e..fe8ed0a38f 100644--- a/docs/install/configuration/ai_setup.md+++ b/docs/install/configuration/ai_setup.md@@ -4,37 +4,6 @@ description: This doc explains how to setup your AI providers, their APIs and crweight: -8----<!-- # Table of Contents--- [Table of Contents](#table-of-contents)-- [AI Setup](#ai-setup)- - [General](#general)- - [Free AI APIs](#free-ai-apis)- - [Setting a Default Endpoint](#setting-a-default-endpoint)- - [Setting a Default Preset](#setting-a-default-preset)- - [OpenAI](#openai)- - [Anthropic](#anthropic)- - [Google](#google)- - [Generative Language API (Gemini)](#generative-language-api-gemini)- - [Vertex AI (PaLM 2 \& Codey)](#vertex-ai-palm-2--codey)- - [1. Once signed up, Enable the Vertex AI API on Google Cloud:](#1-once-signed-up-enable-the-vertex-ai-api-on-google-cloud)- - [2. Create a Service Account with Vertex AI role:](#2-create-a-service-account-with-vertex-ai-role)- - [3. Create a JSON key to Save in your Project Directory:](#3-create-a-json-key-to-save-in-your-project-directory)- - [Azure OpenAI](#azure-openai)- - [Required Variables](#required-variables)- - [Model Deployments](#model-deployments)- - [Setting a Default Model for Azure](#setting-a-default-model-for-azure)- - [Enabling Auto-Generated Titles with Azure](#enabling-auto-generated-titles-with-azure)- - [Using GPT-4 Vision with Azure](#using-gpt-4-vision-with-azure)- - [Optional Variables](#optional-variables)- - [Using Plugins with Azure](#using-plugins-with-azure)- - [OpenRouter](#openrouter)- - [Unofficial APIs](#unofficial-apis)- - [BingAI](#bingai)- - [Conclusion](#conclusion) -->------# AI SetupThis doc explains how to setup your AI providers, their APIs and credentials.@@ -287,26 +256,6 @@ As noted earlier, [review the Custom Config Guide (click here)](./custom_config.**Important:** Stability for Unofficial APIs are not guaranteed. Access methods to these APIs are hacky, prone to errors, and patching, and are marked lowest in priority in LibreChat's development.-<!-- ### ChatGPTBrowser--**Backend Access to https://chat.openai.com/api**--This is not to be confused with [OpenAI's Official API](#openai)!--> Note that this is disabled by default and requires additional configuration to work.-> Also, using this may have your data exposed to 3rd parties if using a proxy, and OpenAI may flag your account.--To get your Access token for ChatGPT Browser Access, you need to:--- Go to **[https://chat.openai.com](https://chat.openai.com)**-- Create an account or log in with your existing one-- Visit **[https://chat.openai.com/api/auth/session](https://chat.openai.com/api/auth/session)**-- Copy the value of the "accessToken" field and save it in ./.env as CHATGPT_ACCESS_TOKEN--Warning: There may be a chance of your account being banned if you deploy the app to multiple users with this method. Use at your own risk.----- -->-### BingAII recommend using Microsoft Edge for this:diff --git a/docs/install/configuration/azure_openai.md b/docs/install/configuration/azure_openai.mdindex 74fd2261dd..8a098f601e 100644--- a/docs/install/configuration/azure_openai.md+++ b/docs/install/configuration/azure_openai.md@@ -108,7 +108,8 @@ These settings apply globally to all Azure models and groups within the endpoint8. **groups** (Array/List, Required): Specifies the list of Azure OpenAI model groups. Each group represents a set of models with shared configurations. The groups field is an array of objects, where each object defines the settings for a specific group. This is a required field at the endpoint level, and at least one group must be defined. The group-level configurations are detailed in the Group-Level Configuration section.-<!-- 9. **customOrder** (Number, Optional): Allows you to specify a custom order for the Azure endpoint in the user interface. Higher numbers will appear lower in the list. If not provided, the default order is determined by the order in which the endpoints are defined in the `librechat.yaml` file. -->+[ 9. **customOrder** (Number, Optional): Allows you to specify a custom order for the Azure endpoint in the user interface. Higher numbers will appear lower in the list. If not provided, the default order is determined by the order in which the endpoints are defined in the `librechat.yaml` file.+]: #Here's an example of how you can configure these endpoint-level settings in your `librechat.yaml` file:diff --git a/docs/install/configuration/dotenv.md b/docs/install/configuration/dotenv.mdindex 0f0f26ba01..6e2b6fd947 100644--- a/docs/install/configuration/dotenv.md+++ b/docs/install/configuration/dotenv.md@@ -268,28 +268,6 @@ BINGAI_TOKEN=user_providedBINGAI_HOST=```-<!-- ### ChatGPT-see: [ChatGPT Free Access token](../configuration/ai_setup.md#chatgptbrowser)--> **Warning**: To use this endpoint you'll have to set up your own reverse proxy.--```bash-CHATGPT_REVERSE_PROXY=<YOUR-REVERSE-PROXY>-```--> **Note:** If you're a GPT plus user you can try adding `gpt-4`, `gpt-4-plugins`, `gpt-4-code-interpreter`, and `gpt-4-browsing` to the list above and use the models for these features; **however, the view/display portion of these features are not supported**, but you can use the underlying models, which have higher token context--> This method **might only works** with `text-davinci-002-render-sha` and **might stop working** at any moment.--- Leave `CHATGPT_TOKEN=` blank to disable this endpoint-- Set `CHATGPT_TOKEN=` to "user_provided" to allow users to provide their own API key from the WebUI- - It is not recommended to provide your token in the `.env` file since it expires often and sharing it could get you banned.--```bash-CHATGPT_TOKEN=-CHATGPT_MODELS=text-davinci-002-render-sha-``` -->-Follow these instructions to setup the [Google Endpoint](./ai_setup.md#google)