混元生文后,得到如下返回结果(一部分),青椒如何解析,获得其中的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":""}],
相似问题