OpenAIChatCompletionsStreamResult
Hérite de
Propriétés
Propriété | Type | Description |
---|---|---|
data | Object | Contains the stream data sent by the server. |
Propriétés calculées
Propriété | Type | Description |
---|---|---|
choice | OpenAIChoice | Returns a choice data, with a delta message. |
choices | Collection | Returns a collection of OpenAIChoice data, with delta messages. |
Propriétés surchargées
Propriété | Type | Description |
---|---|---|
success | OpenAIChoice | Returns True if the streaming data was successfully decoded as an object. |
terminated | Boolean | A Boolean indicating whether the HTTP request was terminated. ie onTerminate called. |