ClaudeAttachmentModelConnector class

Constructors

ClaudeAttachmentModelConnector({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
sendAttachmentPrompt(String prompt, String modelName, {required List<Map<String, dynamic>> attachments, Map<String, dynamic>? extraOptions, int? maxTokens = 1024, double? temperature = 1.0, String? systemPrompt, List<Map<String, dynamic>>? messages}) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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