Comments (4)
但是,我扒拉yucongming的源码找到了一个能用的modelId。
from yucongming-java-sdk.
你填写的是会话 id,模型 id 可以从模型的分享链接中拿到,后面我们优化下获取方式
from yucongming-java-sdk.
非常感谢您,通过分享链接已经拿到了模型id。
btw,如果我按照示例接入,我发现从我请求到yucongming返回,时间非常长,我猜测是yucongming给我用流式返回内容了,这里我想再我自己的前端输入问题,请求到我的后台,然后我的后台再去请求yucongming,如何给yucongming流式返回的内容直接返回到我的前端呢?能否给一个示例的代码呢,非常感谢鱼老板。
from yucongming-java-sdk.
不是流式返回的原因哈,我们现在只提供了生成好内容才返回的接口(而不是流式接口),生成是需要一定时间的。短期内估计无法支持流式,等系统稳定了我们再考虑开放哈
from yucongming-java-sdk.
Related Issues (14)
- 觉得取出content比较麻烦,应该是我太菜,尝试了很多方法都不行 HOT 1
- 调用接口返回了 cn.hutool.json.JSONException: Mismatched hr and body at 148 [character 6 line 6]
- 流式返回答案
- 用Python编写了一套sdk, 返回500 系统错误
- 模型不存在 得不到回答信息怎么处理(爆 40400) HOT 2
- 问问题,却回复了歌单 HOT 9
- 提示错误编号:40000,消息过长该如何解决?
- 模型响应50002 Internal error
- 调用接口发生网络中断cn.hutool.http.HttpException: Unexpected end of file from server
- golang sdk support?
- 本地开发时使用没有问题,但是在线上环境调用出现cn.hutool.http.HttpException: Unexpected end of file from server
- 自动装配类路径错误
- ak不存在什么情况
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 yucongming-java-sdk.