CloudeChatModelConnector class

Constructors

CloudeChatModelConnector({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
sendChatPrompt(String prompt, ClaudeModel model, {Map<String, dynamic>? extraOptions, int? maxTokens = 1024, double? temperature = 1.0, String? systemPrompt, List<Map<String, dynamic>>? messages, bool stream = false}) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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