Gpt4o class
Constructors
- Gpt4o({required OpenAIChatModelConnector openAIChatModelConnector, required OpenAIFileModelConnector openAIFileModelConnector})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setter
- openAIChatModelConnector → OpenAIChatModelConnector
-
final
- openAIFileModelConnector → OpenAIFileModelConnector
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createConversation(
Map< String, dynamic> initialData) → Future<String> -
deleteConversation(
String conversationId) → Future< void> -
getConversation(
String conversationId) → Future< String> -
getModelInfo(
String modelName) → Future< String> -
listConversations(
) → Future< String> -
moderateContent(
String input) → Future< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendPrompt(
String prompt, {double? temperature, int? maxTokens, String? systemPrompt, Map< String, dynamic> ? extraOptions}) → Future<String> -
toString(
) → String -
A string representation of this object.
inherited
-
updateConversation(
String conversationId, Map< String, dynamic> updateData) → Future<String> -
uploadFile(
String filePath, {Map< String, dynamic> ? extraOptions}) → Future<String>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited