AssistantClient class
Constructors
- AssistantClient({required OpenAIAssistant apiClient, dynamic apiKey})
Properties
- apiClient → OpenAIAssistant
-
final
- apiKey → dynamic
-
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
-
create(
NewAssistantModel assistantDetails) → Future< AssistantModel?> - CREATE ASSISTANT
-
createFile(
AttachAssistantFileModel fileObj) → Future< AssistantFileModel?> - CREATE ASSISTANT FILE
-
delete(
dynamic assistantID) → Future< DeleteAssistantResponse?> - RETRIEVE ASSISTANT
-
deleteFile(
AttachAssistantFileModel fileObj) → Future< DeleteAssistantResponse?> - DELETE A FILE FROM AN ASSISTANT
-
list(
) → Future< AssistantList?> - RETRIEVE ASSISTANT LIST
-
listFiles(
String assistantID) → Future< AssistantFileList?> - LIST ALL FILES ATTACHED TO AN ASSISTANT
-
modify(
AssistantModel assistantData) → Future< AssistantModel?> - CREATE ASSISTANT
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
dynamic assistantID) → Future< AssistantModel?> - RETRIEVE ASSISTANT
-
retrieveFile(
AttachAssistantFileModel fileObj) → Future< AssistantFileModel?> - RETRIEVE ASSISTANT FILE
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited