{"repo":"shibing624/ChatPilot","free":true,"listed":false,"github":"https://github.com/shibing624/ChatPilot","clone":"git clone https://github.com/shibing624/ChatPilot.git","description":"ChatPilot: Chat Agent Web UI，实现Chat对话前端，支持Google搜索、文件网址对话（RAG）、代码解释器功能，复现了Kimi Chat(文件，拖进来；网址，发出来)。","language":"Svelte","stars":602,"topics":["agent","chatbot","chatgpt","chatpdf","llm","chatpilot","langchain","chat","kimi","agentica"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"🇨🇳中文 🌐English ----------------- ChatPilot: Chat Agent Web UI ChatPilot : Chat Agent WebUI, 实现了AgentChat对话，支持Google搜索、文件网址对话（RAG）、代码解释器功能，复现Kimi Chat(文件，拖进来；网址，发出来)，支持OpenAI/Azure API。 Features - 本项目基于Agentica实现了Agent Assistant调用，支持如下功能： - 工具调用：支持Agent调用外部工具 - 联网搜索工具：Google Search API（Serper/DuckDuckGo） - URL自动解析工具：复现了Kimi Chat网址发出来功能 - Python代码解释器：支持E2B虚拟环境和本地python编译器环境运行代码 - 多种LLM接入：支持多种LLM模型以多方式接入，包括使用Ollama Api接入各种本地开源模型；使用litellm Api接入各云服务部署模型；使用OpenAI Api接入GPT系列模型 - RAG：支持Agent调用RAG文件问答 - 支持前后端服务分离，前端使用Svelte，后端使用FastAPI - 支持语音输入输出，支持图像生成 - 支持用户管理，权限控制，支持聊天记录导入导出 Demo Official Demo: https://chat.mulanai.com Getting Started Run ChatPilot in Docker You'll find ChatPilot running at http://0.0.0.0:8080 Enjoy! 😄 本地启动服务 好了，现在你的应用正在运行：http://0.0.0.0:8080 Enjoy! 😄 构建前端web 两种方法构建前端： 1. 解压打包并编译好的前端 web/build.zip，解压到项目web目录下。 2. 如果修改了web前端代码，需要自己使用npm重新构建前端： 输出：项目 web 目录产出 build 文件夹，包含了前端编译输出文件。 多种LLM接入 使用OpenAI Api接入GPT系列模型 - 使用OpenAI API，配置环境变量： - 如果使用Azure OpenAI API，需要配置如下环境变量： 使用Ollama Api接入各种本地开源模型 以 ollama serve 启动ollama服务，然后配置 OLLAMA API URL ： export OLLAMA API URL=http://localhost:11413 使用litellm Api接入各云服务部署模型 1. 安装 litellm 包： 2. 修改配置文件 chatpilot 默认的litellm config文件在 /.cache/chatpilot/data/litellm/config.yaml 修改其内容如下： Contact - Issue(建议)： - 邮件我：xuming: xuming624@qq.com - 微信我：加我 微信号：xuming624, 备注：姓名-公司-NLP 进NLP交流群。 Citation 如果你在研究中使用了ChatPilot，请按如下格式引用： APA: BibTeX: License 授权协议为 The Apache License 2.0，可免费用做商业用途。请在产品说明中附加ChatPilot的链接和授权协议。 Contribute 项目代码还很粗糙，如果大家对代码有","default_branch":null,"files":null,"tree":[],"storefront":"/r/shibing624","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shibing624/ChatPilot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}