Comments (10)
have the same problem
from bedrock-access-gateway.
This is already supported. Make sure you have the following in your request.
"stream": true,
"stream_options": {"include_usage": true},
from bedrock-access-gateway.
这个响应是不是不太对啊,等了几秒,后面直接出来一大坨
@daixba
from bedrock-access-gateway.
参考: https://platform.openai.com/docs/api-reference/chat/create
from bedrock-access-gateway.
部署readme里的ALB + Fargate这个 @ucasiggcas
from bedrock-access-gateway.
@dftty 这个我早就部署了啊,不然curl也不通的,现在的问题是stream情况下,response响应很慢,具体是curl后等待长时间才有反应,然后data数据一大堆出来了。
from bedrock-access-gateway.
我直接将curl的东西放终端测试的,响应就是慢,不及gpt-4o
from bedrock-access-gateway.
readme里有两种部署方式ALB + Lambda和ALB + Fargate,第一个流式是等所有数据返回才一次性返回,第二个是正常流式
from bedrock-access-gateway.
感谢,我再建立一个堆栈试试 @dftty
from bedrock-access-gateway.
solved , thx
@dftty
from bedrock-access-gateway.
Related Issues (20)
- Missing number of Input token and output token in output response. HOT 4
- when the parameter 'messages' length exceeds 144, there will be no response. HOT 1
- multiple API keys and quota per key? HOT 2
- stream resposne contains a null tool_calls , invalid for typescript resposne validation HOT 3
- Issue with concurrent requests on AWS Fargate HOT 3
- Error when including multiple user messages in a single request
- 502 Bad Gateway on Lambda HOT 4
- Tools calling in bedrock
- Support Custom Model Import HOT 1
- Support for Llama 3.1? HOT 1
- Documentation for locally running HOT 5
- Support for AzureOpenAI format
- Cannot handle properly when bedrock response with empty string HOT 2
- API Gateway as option for Application Load Balancer
- Support for Mistral Large 2 (24.07) HOT 1
- Unable to use inputs larger than 2048 tokens even with models that support more HOT 1
- CloudFormation stack stuck at CREATE_IN_PROGRESS HOT 3
- Bedrock access proxy is unable to handle initial system message prompt
- Support for Titan Models
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 bedrock-access-gateway.