Class ChatDeltaResponse
public class ChatDeltaResponse : OllamaTextResponse, IChatCompletionEvent, ITextStreamEvent
- Inheritance
-
objectChatDeltaResponse
- Implements
-
ITextStreamEvent
- Inherited Members
Properties
Delta
Required. The response message.
public MessageDelta Delta { get; set; }
Property Value
Done
public bool? Done { get; set; }
Property Value
- bool?
Methods
FirstTextDelta()
public string FirstTextDelta()
Returns
- string
IsFinal()
public bool IsFinal()
Returns
- bool
ToChatCompletionEvent(string)
public ChatCompletion ToChatCompletionEvent(string modelId)
Parameters
modelIdstring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.