Class AnthropicChatStreamParser
Inheritance
object
AnthropicChatStreamParser
Assembly: .dll
Syntax
public class AnthropicChatStreamParser : IChatStreamParser
Constructors
AnthropicChatStreamParser(SSEParser, JsonSerializerSettings)
Declaration
public AnthropicChatStreamParser(SSEParser sseParser, JsonSerializerSettings jsonSettings)
Parameters
Type |
Name |
Description |
SSEParser |
sseParser |
|
JsonSerializerSettings |
jsonSettings |
|
Methods
Parse(string)
Declaration
public IEnumerable<ChatStreamChunk> Parse(string raw)
Parameters
Type |
Name |
Description |
string |
raw |
|
Returns
Implements