Comments (11)
嗯,这个是后期考虑要加的功能,会先增加让用户自己提供API key的功能。
感谢提建议。
from geminichatup.
流式应该是可以处理这个问题。
好,我近期改下
from geminichatup.
流式应该是可以处理这个问题。
流式我尝试过了,也受到10秒的限制,在10秒之后,即使 sse 的链接没有断,但仍旧不会继续返回信息。
不过我现在已经修改成 Edge runtime了,vercel 对于 Edge runtime 的超时是30秒,应该可以解决大部分断连场景。
from geminichatup.
from geminichatup.
from geminichatup.
你点下create按钮,选择 Vision Content
这里实际是分了2种模式。一种是chat,chat只支持 Gemini Pro
另一种是 Prompt Content,这个是支持 Gemini Pro Vision的,也就是图片上传。但这个 model 在官方并不支持对话Chat,我加了一些 Prompt把 Vision做成对话场景的
from geminichatup.
from geminichatup.
vercel 对于免费账号的接口请求限制是 10秒,但 Gemini Pro Vision 会比较慢,可以多试几次,或者换张图重新来。我目前不清楚改成流式是否可以改进这个现象。
from geminichatup.
流式应该是可以处理这个问题。
from geminichatup.
from geminichatup.
你好,这个项目挺好的,不过部署到 Vercel 上,是不是可以考虑加一个密码验证的页面,验证不通过,不进入 Chat 页面,因为可能存在被滥用的问题,另外 Gemini 也有用量限制的。
或者在网页上提供一个输入 Key 的入口,让使用者自行输入 Key,然后保存到本地缓存中。
已增加 用户凭证 / 添加 Gemini Pro API Key 功能。
from geminichatup.
Related Issues (4)
- 如何获取api key? HOT 4
- 本地部署的话,api应该填在哪里呢?env文件似乎没有模板 HOT 1
- 似乎本地运行崩溃的概率较高。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geminichatup.