ClaudeStreamingModelConnector class

Constructors

ClaudeStreamingModelConnector({required Dio dio, required String apiKey, String apiVersion = '2023-06-01'})

Properties

apiKey String
final
apiVersion String
final
dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
streamChatPrompt(String prompt, String modelName, {Map<String, dynamic>? extraOptions, int? maxTokens = 1024, double? temperature = 1.0, String? systemPrompt, List<Map<String, dynamic>>? messages}) Stream<String>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited