Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chadyi/Search-for-LLMAPI

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search-for-LLMAPI | 大模型 API 联网搜索增强 | EN

这是什么?

一个轻量级的 API 增强服务,为各大模型 API 添加实时联网搜索能力,让 AI 回答更加准确、及时。

🌟 主要特点

  • 🔍 实时联网搜索:自动检测需要搜索的问题,实时获取最新信息
  • 🎯 多平台支持:支持几乎所有大模型平台的 API,包括:
    • SiliconFlow (硅基流动)
    • 百度文心 千帆
    • 字节跳动 火山方舟
    • 阿里云 百炼
    • 无问芯穹
    • 腾讯 知识引擎
    • 其他兼容OpenAI格式的API
  • 🤔 思维链展示:支持展示 DeepSeek 模型的完整思考过程
  • 🧹 自动清理:自动清理历史记录中的思考过程,保持对话整洁

开始使用

方式一:直接使用

  1. 在客户端中(如 Chatbox)添加新对话模型
  2. 填写配置:
    • API地址:https://search-for-llmapi.dawne.cn/with-search/v1
    • 不带搜索版 API地址:https://search-for-llmapi.dawne.cn/v1
    • API Key:你的模型平台 API Key(如硅基流动的 sk-xxx)
    • 模型:
      • 平台@模型名(如:siliconflow@deepseek-ai/deepseek-coder-33b-instruct
      • 完整的API地址@模型名字,如(https://api.siliconflow.cn/v1/chat/completions@deepseek-ai/DeepSeek-V2.5
    • 具体请看 https://eqrwxrl391e.feishu.cn/wiki/TEwxweXOOi5I2lk60VocY9QOnob

方式二:自行部署(完善中,暂不支持搜索)

  1. 克隆仓库
  2. 安装依赖:
    pip install flask requests
  3. 启动服务:
    python server.py
  4. 部署到服务器并添加SSL
  5. 在Chatbox中使用:https://你的域名/v1

问题反馈

遇到问题?欢迎提交Issue或联系作者。

Star History

Star History Chart

About

一个轻量级的 API 增强服务,为各大模型 API 添加实时联网搜索能力,让 AI 回答更加准确、及时。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.