Skip to content

Commit

Permalink
gemini版本支持流式输出,兼容Vision
Browse files Browse the repository at this point in the history
  • Loading branch information
fatwang2 committed Feb 24, 2024
1 parent 7de1ab6 commit 077e645
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 215 deletions.
3 changes: 2 additions & 1 deletion README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<a href="https://www.buymeacoffee.com/fatwang2" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

# Version Updates
- V0.1.7, 20240224, Gemini version supports streaming output and is compatible with vision model
- V0.1.6, 20240221, Supports Gemini model, can be temporarily configured through Cloudflare worker method
- V0.1.5, 20240205, supports news search, making it more convenient to quickly browse news
- V0.1.4, 20240120, Supports one-click deployment with Zeabur, very convenient, highly recommended!
Expand All @@ -17,7 +18,7 @@
For more historical updates, please see [Version History](https://github.com/fatwang2/search2ai/releases)

# Product Introduction
- search2ai, so that your LLM API support networking, search, news, web page summarization, has supported OpenAI, Gemini, the big model will be based on your input to determine whether the network, not every time the network search, do not need to install any plug-ins, do not need to replace the key, directly in your commonly used OpenAI/Gemini three-way client replacement of custom You can directly replace the customized address in your usual OpenAI/Gemini three-way client, and also support self-deployment, which will not affect the use of other OpenAI functions, such as drawing, voice, etc. The drawing function of Gemini is in the process of being adapted.
- search2ai, so that your LLM API support networking, search, news, web page summarization, has supported OpenAI, Gemini, the big model will be based on your input to determine whether the network, not every time the network search, do not need to install any plug-ins, do not need to replace the key, directly in your commonly used OpenAI/Gemini three-way client replacement of custom You can directly replace the customized address in your usual OpenAI/Gemini three-way client, and also support self-deployment, which will not affect the use of other functions, such as drawing, voice, etc.

<table>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<a href="https://www.buymeacoffee.com/fatwang2" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

# 版本更新
- V0.1.7,20240224,Gemini版本支持流式输出,且兼容vision model
- V0.1.6,20240221,支持Gemini模型,暂时可通过cloudflare worker的方式配置
- V0.1.5,20240205,支持新闻搜索,快速浏览新闻更方便
- V0.1.4,20240120,支持Zeabur一键部署,非常方便,强烈推荐!
Expand All @@ -18,7 +19,7 @@
更多历史更新,请参见 [版本记录](https://github.com/fatwang2/search2ai/releases)

# 产品介绍
- search2ai,让你的 LLM API 支持联网,搜索、新闻、网页总结,已支持OpenAI、Gemini,大模型会根据你的输入判断是否联网,不是每次都联网搜索,不需要安装任何插件,也不需要更换key,直接在你常用的 OpenAI/Gemini 三方客户端替换自定义地址即可,也支持自行部署,不会影响使用 OpenAI 的其他功能,如画图、语音等,Gemini的画图功能适配中
- search2ai,让你的 LLM API 支持联网,搜索、新闻、网页总结,已支持OpenAI、Gemini,大模型会根据你的输入判断是否联网,不是每次都联网搜索,不需要安装任何插件,也不需要更换key,直接在你常用的 OpenAI/Gemini 三方客户端替换自定义地址即可,也支持自行部署,不会影响使用的其他功能,如画图、语音等

<table>
<tr>
Expand Down Expand Up @@ -126,7 +127,6 @@ http://localhost:3014/v1/chat/completions
为保证更新,也可以先fork本项目后自己在vercel上部署

# 后续迭代
- Gemini支持流式输出、兼容非聊天场景
- 支持Azure OpenAI
- 修复Vercel项目流式输出问题
- 提升流式输出的速度
Expand Down

0 comments on commit 077e645

Please sign in to comment.