首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >混元生文获得的返回结果,如何解析?

混元生文获得的返回结果,如何解析?

提问于 2024-11-04 13:18:25
回答 0关注 0查看 6

混元生文后,得到如下返回结果(一部分),青椒如何解析,获得其中的content部分的内容?

data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"Delta":{"Role":"assistant","Content":"秋"},"FinishReason":""}],"Created":1730643340,"Id":"40874147-d622-4a1d-8a87-3c625b7916fe","Usage":{"PromptTokens":26,"CompletionTokens":1,"TotalTokens":27}} data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"Delta":{"Role":"assistant","Content":"夜"},"FinishReason":""}],"Created":1730643340,"Id":"40874147-d622-4a1d-8a87-3c625b7916fe","Usage":{"PromptTokens":26,"CompletionTokens":2,"TotalTokens":28}} data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"Delta":{"Role":"assistant","Content":"微"},"FinishReason":""}],"Created":1730643340,"Id":"40874147-d622-4a1d-8a87-3c625b7916fe","Usage":{"PromptTokens":26,"CompletionTokens":3,"TotalTokens":29}} data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"Delta":{"Role":"assistant","Content":"凉"},"FinishReason":""}],"Created":1730643340,"Id":"40874147-d622-4a1d-8a87-3c625b7916fe","Usage":{"PromptTokens":26,"CompletionTokens":4,"TotalTokens":30}} data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"Delta":{"Role":"assistant","Content":","},"FinishReason":""}],

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档