{"id":13467355,"url":"https://github.com/SchneeHertz/chat-xiuliu","last_synced_at":"2025-03-26T01:30:54.219Z","repository":{"id":188377206,"uuid":"615572968","full_name":"SchneeHertz/chat-xiuliu","owner":"SchneeHertz","description":"ChatGPT Client with Function Calling | ChatGPT客户端，支持联网，IO操作和执行代码","archived":false,"fork":false,"pushed_at":"2024-09-02T08:54:55.000Z","size":8481,"stargazers_count":67,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T20:36:59.379Z","etag":null,"topics":["chatgpt","client","function-calling","llm","openai"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SchneeHertz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-18T03:06:43.000Z","updated_at":"2024-09-19T18:41:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"5015dd2e-93fc-4e65-834f-a35def34306e","html_url":"https://github.com/SchneeHertz/chat-xiuliu","commit_stats":null,"previous_names":["schneehertz/chat-xiuliu"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchneeHertz%2Fchat-xiuliu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchneeHertz%2Fchat-xiuliu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchneeHertz%2Fchat-xiuliu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SchneeHertz%2Fchat-xiuliu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SchneeHertz","download_url":"https://codeload.github.com/SchneeHertz/chat-xiuliu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245571735,"owners_count":20637386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","client","function-calling","llm","openai"],"created_at":"2024-07-31T15:00:55.356Z","updated_at":"2025-03-26T01:30:53.043Z","avatar_url":"https://github.com/SchneeHertz.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# chat-xiuliu\n\nChatGPT客户端，通过function calling实现访问网络，执行代码，读写文件等功能，支持图像输入，支持调用DALL·E 3生成图片。\n\n\u003e这个项目是由虚拟猫娘休留(直播搞不下去了)的后台fork来的，去掉了弹幕互动的部分，增加了语音输入\u003cbr\u003e\n截止到2023年8月15日，使用LLM模拟人格的尝试，在我这里没有看到效果及成本可以接受的希望。\u003cbr\u003e\n所以模拟人格先放下一段时间，再看看未来LLM的发展吧\n\n## 功能\n- 从麦克风或界面接收问题\n- 使用语音回答问题并显示在界面\n- 上传图片\n- 上传PDF作为对话上下文\n- 调用函数处理任务\n  - 连续调用函数处理\n  - 对话内容回忆\n  - 联网搜索关键词[^1]，获取网页内容\n  - 生成图片(DALL·E 3)\n  - 读写本地文件\n  - 在沙箱中执行JavaScript代码\n  - 打开本地文件或网页\n- 可定制的猫娘发言风格\n- 保存对话截图\n- 支持Azure openai\n- 支持兼容openai api格式的其他api端点\n- 支持设置代理\n\n[^1]: 需要配置Google Custom Search JSON API: 参考[Custom Search JSON API](https://developers.google.com/custom-search/v1/overview).\n\n## 截图\n\u003cimg src=\"https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/screenshot_1.jpg\" width=\"640\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/screenshot_2.jpg\" width=\"457\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/code_interpreter.jpg\" width=\"457\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/setting.jpg\" width=\"457\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/setting2.jpg\" width=\"457\"\u003e\n\n\n## 可选语音识别功能\n- _下载[whisper-standalone-win](https://github.com/Purfview/whisper-standalone-win)(最好有张独立显卡，不然运行很慢，可选，语音功能)_\n  - _在whisper-standalone-win的Release和[huggingface](https://huggingface.co/Systran/faster-whisper-large-v3)下载必要的文件，解压到resources/extraResources/whisper文件夹_\n  ```\n  resources/extraResources/whisper/_models/faster-whisper-large-v3/config.json\n  resources/extraResources/whisper/_models/faster-whisper-large-v3/model.bin\n  resources/extraResources/whisper/_models/faster-whisper-large-v3/tokenizer.json\n  resources/extraResources/whisper/_models/faster-whisper-large-v3/vocabulary.json\n  resources/extraResources/whisper/_models/faster-whisper-large-v3/preprocessor_config.json\n  resources/extraResources/whisper/cublas64_11.dll\n  resources/extraResources/whisper/cublasLt64_11.dll\n  resources/extraResources/whisper/cudnn_cnn_infer64_8.dll\n  resources/extraResources/whisper/cudnn_ops_infer64_8.dll\n  resources/extraResources/whisper/whisper-faster.exe\n  resources/extraResources/whisper/zlibwapi.dll\n  ```\n\n### 设置参考\n  - 如果你使用Azure openai，修改AZURE前缀的设置项，需要同时部署chat, embedding和image的模型\n  - AI的语音模型，在[微软文档](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts)查看可用值\n  - 默认设定\n    ```\n    你是虚拟猫娘休留, 以下是你在回复时应该遵循的规则:\n    1. 灵活地运用猫娘的风格进行回复.\n    2. 如果你不知道答案，回答\"我不知道\".\n    3. 调用函数来提高回复质量.\n    4. 使用markdown语法回复和显示图片.\n    5. 创建图像时, 必须在Prompt前加上\"I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS: \"\n    ```\n\n## 赞助\nhttps://afdian.com/@SeldonHorizon\n\n如果你觉得休留很萌，可以请管理员喝杯奶茶\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSchneeHertz%2Fchat-xiuliu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSchneeHertz%2Fchat-xiuliu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSchneeHertz%2Fchat-xiuliu/lists"}