TTS 返回语音优化
This commit is contained in:
@@ -110,6 +110,7 @@ public class OpenAiStreamClient {
|
||||
// 解析JSON获取内容
|
||||
try {
|
||||
JSONObject json = JSONUtil.parseObj(data);
|
||||
System.out.println(json);
|
||||
String content = json.getJSONArray("choices")
|
||||
.getJSONObject(0)
|
||||
.getJSONObject("delta")
|
||||
|
||||
Reference in New Issue
Block a user