LibreChat-图文并茂手把手教你界面配置 | Adorable LibreChat Interface Configuration Guide

news/2025/10/11 0:57:04/文章来源:https://www.cnblogs.com/sugartang/p/19134078

@

目录
      • 🎀 整体介绍 | Overview
      • 🍪 配置项详解 | Field Details
      • 🎨 开关大全 | All Switches
      • ✨ 配置示例 | Cute Example
  • Conclusion | 结语

🎀 整体介绍 | Overview

今天我们来学习一下,LibreChat的页面基础配置哇~
interface对象是LibreChat的"百变魔法棒"✨!它能自定义界面的各种小元素,让应用穿上不同的可爱服装~ 隐私政策链接、侧边栏、聊天预设...统统可以按你的喜好变身! | The interface object is LibreChat's "Magic Wand"✨! It customizes UI elements like a dress-up doll—privacy policy links, side panels, chat presets... all transformable as you wish!


🍪 配置项详解 | Field Details

  1. 隐私小饼干政策 | privacyPolicy
    🌸 设置隐私政策链接位置,能选择在新标签页中打开~ | Sets privacy policy link location, can open in new tab~
    privacyPolicy:externalUrl: "https://你的链接.com" # 🎀 自定义链接openNewTab: true                    # 🪄 新标签页打开
    

image

  1. 服务条款小熊熊 | termsOfService
    💌 不仅设链接,还能弹萌系弹窗让用户点"同意"! | Set link + cute acceptance popup for users~
    termsOfService:externalUrl: "https://条款链接.com" modalAcceptance: true              # 🌟 开启萌系弹窗modalTitle: "服务条款~"             # 🍬 弹窗标题modalContent: "# Hi~请接受条款呦"    # 🎈 Markdown内容
    

image

  1. 端点菜单小按钮 | modelSelect
    🤹 控制聊天模型切换功能,一般用不上。 | Toggles model-switching button visibility like a secret~

    modelSelect: false  # 🔮 关掉就看不到咯
    
  2. 全能参数小齿轮 ⚙️ | parameters
    🐇 调整聊天参数的小工具,关上就变极简风~ | Hides chat parameter controls for minimalist vibes~

    parameters: false  # ✨ 消失吧小齿轮!
    

image

  1. 书签收藏夹 📚 | bookmarks
    💖 关掉后用户就不能保存可爱对话啦~(舍不得!) | Disables chat saving—bye-bye bookmarks!
    bookmarks: false  # 😢 书签消失魔法
    

image

  1. MCP服务器小精灵 | mcpServers
    🌐 连接多个模型提供者服务器,让聊天更灵活! | Connects multiple model provider servers for flexible chatting~

  2. 侧边栏小助手 | sidePanel
    🍭 控制侧边栏的显示与隐藏,方便用户快速访问功能~ | Toggles the visibility of the sidebar for quick access to features~

    sidePanel: true  # 🌟 显示侧边栏
    
  3. 聊天预设小魔盒 | presets
    🍪 启用或禁用聊天预设功能,让用户一键开启特定场景对话~ | Enables/disables chat preset functionality for quick scene-based conversations~

    presets: true  # 🌸 启用预设
    
  • 通过“对话预设”功能,您可自定义大语言模型的角色特征(如职业、专长等),使其回答更贴合需求。建议仅调整“自定义指令”和“自定义名称”两项,其他设置请保持默认。
  • Use the "Dialogue Preset" feature to define the AI's character traits (e.g. profession, expertise), making its responses more aligned with your needs. We recommend only modifying the "Custom Instructions" and "Custom Name" fields, while leaving other options at their default settings.
    image
  1. 提示词小精灵 | prompts
    🎯 控制用户是否可以自定义提示词,提升个性化体验~ | Controls whether users can customize prompts for personalized experiences~
    prompts: true  # ✨ 允许自定义提示词
    

image
10. 多对话小机器人 | multiConvo
🤖 允许同时与多个模型进行对话,实现多任务处理~ | Enables simultaneous conversations with multiple models for multitasking~
yaml multiConvo: true # 🚀 启用多对话模式
image

  1. AI助手小巫师 | agents
    🧚 启用或禁用AI助手功能,支持无代码创建定制化AI代理~ | Enables/disables AI agent functionality for no-code creation of custom AI agents~
    agents: true  # 🌟 启用AI助手
    

image

  1. 欢迎语小天使 | customWelcome
    🎉 自定义欢迎消息,让每次登录都充满惊喜~ | Customize welcome messages to make every login delightful~
    customWelcome: "欢迎回来,亲爱的用户!✨"  # 🌸 自定义欢迎语
    

image

  1. 代码运行小火箭 | runCode
    🚀 控制是否允许用户在聊天中运行代码,支持Python等语言~ | Toggles code execution in chat, supports Python and other languages~

    runCode: true  # 💻 允许运行代码
    
  2. 网页搜索小侦探 | webSearch
    🔍 启用或禁用网页搜索功能,帮助用户获取实时信息~ | Enables/disables web search functionality for real-time information retrieval~

    webSearch: true  # 🌐 启用网页搜索
    
  3. 文件搜索小雷达 | fileSearch
    📂 控制是否允许用户在上传的文件中进行搜索,提升文件管理效率~ | Toggles file search within uploaded documents to improve file management efficiency~

    fileSearch: true  # 🔎 启用文件搜索
    
  4. 文件引用小标签 | fileCitations
    📝 控制是否在回复中引用上传的文件内容,增强上下文关联性~ | Toggles file citations in responses to enhance contextual relevance~

    fileCitations: true  # 📄 启用文件引用
    

🎨 开关大全 | All Switches

配置项 默认值 可爱功能
modelSelect true 🌸 模型选择下拉框开关
sidePanel true 🍭 侧边栏开关
presets true 🍪 聊天预设功能
prompts true 🎯 自定义提示词功能
multiConvo true 🤖 双模型同时聊天开关
agents true 🧚 AI助手功能开关
customWelcome false 🎉 自定义欢迎语开关
runCode true 🚀 代码运行开关
webSearch true 🔍 网页搜索开关
fileSearch true 📂 文件搜索开关
fileCitations true 📝 文件引用开关

image

✨ 配置示例 | Cute Example

# For more information, see the Configuration Guide:
# https://www.librechat.ai/docs/configuration/librechat_yaml# Configuration version (required)
version: 1.2.1# Cache settings: Set to true to enable caching
cache: true
interface:customWelcome: "欢迎回来,亲爱的用户!✨"  # 🎉 自定义欢迎语# Terms of servicetermsOfService:modalAcceptance: true              # 🌟 开启萌系弹窗modalTitle: "服务条款~"             # 🍬 弹窗标题modalContent: "# Hi~请接受条款呦"    # 🎈 Markdown内容externalUrl: 'https://librechat.ai/tos'openNewTab: trueprivacyPolicy: externalUrl: "https://pink.cat/privacy"  # 😻 猫咪隐私政策modelSelect: true  # 模型选择bookmarks: true     # 📖 保留书签!runCode: true       # 💻 允许运行代码webSearch: false    # 🔍 禁用网页搜索mcpServers:- name: "My Custom Server"url: "https://myserver.com/mcp"enabled: trueparameters: false   # ⚙️ 关闭参数调整sidePanel: true     # 🍭 显示侧边栏presets: true       # 🍪 启用预设prompts: true       # 🎯 允许自定义提示词multiConvo: true    # 🤖 启用多对话agents: true        # 🧚 启用AI助手fileSearch: true    # 🔎 启用文件搜索fileCitations: true # 📄 启用文件引用# Example Registration Object Structure (optional)
registration:socialLogins: ['github', 'google', 'discord', 'openid', 'facebook', 'apple']# allowedDomains:# - "gmail.com"# Example Actions Object Structure
actions:allowedDomains:- "swapi.dev"- "librechat.ai"- "google.com"# Definition of custom endpoints
endpoints:custom:- name: "DeepSeek"streamRate: 30apiKey: "xxxxxx"# See the required changes above in "Start LiteLLM Proxy Server" step.baseURL: "https://xxxxxxxx.com/v1"# A "default" model to start new users with. The "fetch" will pull the rest of the available models from LiteLLM# More or less this is "irrelevant", you can pick any model. Just pick one you have defined in LiteLLM.models:default: ["deepseek-v3","deepseek-r1"]fetch: falsetitleConvo: truetitleModel: "deepseek-v3"titleMethod: "completion"summarize: falsesummaryModel: "current_model"modelDisplayLabel: "Deepseek"titleMessageRole: "user"forcePrompt: false- name: "TestModel"apiKey: "dummy"baseURL: 'https://api.portkey.ai/v1'headers:x-portkey-api-key: '${PORTKEY_API_KEY}'x-portkey-virtual-key: '${PORTKEY_OPENAI_VIRTUAL_KEY}'models:default: ['gpt-4o-mini', 'gpt-4o', 'chatgpt-4o-latest']fetch: truetitleConvo: truetitleModel: 'current_model'summarize: falsesummaryModel: 'current_model'forcePrompt: falsemodelDisplayLabel: 'Portkey'iconURL: https://images.crunchbase.com/image/upload/c_pad,f_auto,q_auto:eco,dpr_1/rjqy7ghvjoiu4cd1xjbf
# fileConfig:
#   endpoints:
#     assistants:
#       fileLimit: 5
#       fileSizeLimit: 10  # Maximum size for an individual file in MB
#       totalSizeLimit: 50  # Maximum total size for all files in a single request in MB
#       supportedMimeTypes:
#         - "image/.*"
#         - "application/pdf"
#     openAI:
#       disabled: true  # Disables file uploading to the OpenAI endpoint
#     default:
#       totalSizeLimit: 20
#     YourCustomEndpointName:
#       fileLimit: 2
#       fileSizeLimit: 5
#   serverFileSizeLimit: 100  # Global server file size limit in MB
#   avatarSizeLimit: 2  # Limit for user avatar image size in MB
# # See the Custom Configuration Guide for more information on Assistants Config:
# # https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/assistants_endpoint

Conclusion | 结语

  • That's all for today~ - | 今天就写到这里啦~

  • Guys, ( ̄ω ̄( ̄ω ̄〃 ( ̄ω ̄〃)ゝ See you tomorrow~~ | 小伙伴们,( ̄ω ̄( ̄ω ̄〃 ( ̄ω ̄〃)ゝ我们明天再见啦~~

  • Everyone, be happy every day! 大家要天天开心哦

  • Welcome everyone to point out any mistakes in the article~ | 欢迎大家指出文章需要改正之处~

  • Learning has no end; win-win cooperation | 学无止境,合作共赢

  • Welcome all the passers-by, boys and girls, to offer better suggestions! ~~~ | 欢迎路过的小哥哥小姐姐们提出更好的意见哇~~

image

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/934495.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

GAE-广义优势估计算法介绍

一句话总结 GAE 就像「既要稳又要准」的聪明妥协:用多步 TD 误差加权平均,既缓解了 MC 的高方差,又减少了 TD 的单一偏差,通过调节参数(λ)灵活平衡两者的优缺点。MC vs TD 的痛点MC(蒙特卡洛):原理:跑完整个…

qemu模拟单片机

ESP32 乐鑫官方移植的qemu工程:espressif/qemu: Fork of QEMU with Espressif patches. See Wiki for details. 官方使用说明:esp-toolchain-docs/qemu/README.md at main espressif/esp-toolchain-docs 目前支持ES…

RAG-检索增强生成

检索增强生成(Retrieval-Augmented Generation, RAG)是近年来深度学习领域的重要技术突破,旨在解决大语言模型(LLM)在知识更新、事实准确性以及领域专业化方面的局限性。本文将从核心架构、功能实现、实践规范到高…

“猴子补丁”(monkey patch)跟猴子有关吗?

“猴子补丁”(monkey patch)指的是使函数名指向另一个函数。 这个名字里的“猴子”(monkey)和真实的动物猴子没有任何生物学或实体关联,它是编程领域的一个形象比喻,名字的由来与“猴子”的俚语含义有关。 为什么…

Yapi 使用docker在cenos7上部署教程与基本使用

✅ 前提条件 确保你已经完成以下准备:CentOS 7 系统已安装 Docker(未安装请先安装)拥有管理员权限(root 或 sudo)1、安装mongo数据库# 拉取mongo镜像,有本地镜像包可以直接导入 docker pull mongo # 安装mongo数…

C语言vsC++

一、核心区别设计理念C 语言:面向过程(Procedure-Oriented),以函数和数据结构为核心,强调算法和步骤的实现,关注 “怎么做”。 C++:基于 C 语言扩展而来,支持面向对象编程(Object-Oriented,OO),引入类、对…

20251010 之所思 - 人生如梦

20251010 之所思这两天想的事情有点多,有点焦虑,因为刚刚升职,部门的软件需要管理起来,已经不再仅仅管理自己现在的一个小组,今天看了一下软件的人数,数量已经到了122人,这是一个很庞大的队伍,如何管理好,心里…

2025.10.10

今天学生会开会导致十点没有回到宿舍 今天一节英语课,单词背诵情况不好,以后会加强 尝试轻食餐,不好吃

个人书单-从心流出发,学习积极心理学

从“心流”出发,构建你的积极心理学知识体系 | 专题书单 你是否曾有过这样的体验:在全神贯注地工作、运动或创作时,忘记了时间的流逝,内心充满了一种纯净而高效的愉悦感? 这就是米哈里契克森米哈赖所描述的 “心流…

等号(=)在C语言和python中有什么区别?

等号(=)在C语言和python中有什么区别? 等号(=)在 C 语言和 Python 中虽然核心功能都是“赋值”,但由于两种语言的设计理念(静态类型 vs 动态类型、编译型 vs 解释型)存在根本差异,= 的行为、特性和使用场景有…

AI元人文(十四)之价值共生篇:再论物物交换——作为价值共生基础的元协议

AI元人文(十四)之价值共生篇:再论物物交换——作为价值共生基础的元协议 文 / 岐金兰 摘要: 本文是对前文《AI元人文(十四):物物交换——论跨领域价值协商的元协议》提出的“物物交换”元协议的深化探讨。文章将…

4.布局系统

Aquarius 开发框架旨在帮助独立开发者和中小型团队,完成 iOS App 的快速实现与迭代。使用框架开发将给你带来简单、高效、易维护的编程体验。大家好,我是K哥。一名独立开发者,同时也是Swift开发框架【Aquarius】的作…

虚拟环境QA

Dingxingdi: 我使用conda激活虚拟环境之后,就可以像往常一样使用命令了吗?不需要在命令前面加一个conda吗? GitHub Copilot: 可以直接像平常一样运行命令,不需要在命令前加 conda。激活环境(例如 conda activate …

提升高度的网站

真相查询类Snopes https://www.snopes.comWikipedia(英文) https://en.wikipedia.org全球时事类 3. Foreign Affairs https://www.foreignaffairs.comBrookings https://www.brookings.edu课程学习类 5. Open Yale C…

day009

今日完成:css页面的格式排布设置,页面的字体颜色设置有了一定的了解. 明日完成:css,html 遇到问题:无

java基础2-运算符

运算符:对字面量或者变量进行操作的符号 表达式:用运算符把字面量或者变量连接起来,符合java语法的式子就可以成为表达式。 1.算数运算符:int c = a + b; +:是运算符,并且为算数运算符; a + b 是表达式,由于+时…

HTTP OPTIONS 方法详解:从原理到实践

HTTP OPTIONS 方法详解:从原理到实践 本文深入剖析 HTTP OPTIONS 方法的核心作用、CORS 预检机制及实际应用场景,帮助开发者彻底解决跨域问题 一、OPTIONS 方法概述 1.1 基本定义 OPTIONS 是 HTTP/1.1 协议定义的请求…

详解 `a, b = b, a + b`:执行逻辑、常见误区与赋值符号辨析

详解 a, b = b, a + b:执行逻辑、常见误区与赋值符号辨析 在 Python 中,a, b = b, a + b 是一句看似简单却暗藏玄机的代码。它广泛用于斐波那契数列生成、变量交换等场景,但许多开发者对其执行逻辑存在误解,甚至会…

xdown 全能下载

官网 https://xdown.org/作者:mohistH 出处:https://www.cnblogs.com/pandamohist/ 本文版权归作者和博客园共有,谢绝一切形式的转载,否则将追究法律责任。