assistant_openai 1.0.4 assistant_openai: ^1.0.4 copied to clipboard
A wrapper package for OpenAI assistant by Abel V. Massaley
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add assistant_openai
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
assistant_openai: ^1.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:assistant_openai/common/ai/assistant.dart';
import 'package:assistant_openai/common/ai/client.dart';
import 'package:assistant_openai/common/ai/models/ThreadModificationModel.dart';
import 'package:assistant_openai/common/ai/models/agentModel.dart';
import 'package:assistant_openai/common/ai/models/assistantFileList.dart';
import 'package:assistant_openai/common/ai/models/assistantList.dart';
import 'package:assistant_openai/common/ai/models/assistantfileobject.dart';
import 'package:assistant_openai/common/ai/models/createRunModel.dart';
import 'package:assistant_openai/common/ai/models/deletedAssistantFileModel.dart';
import 'package:assistant_openai/common/ai/models/deletedAssistantResponse.dart';
import 'package:assistant_openai/common/ai/models/messagesFile.dart';
import 'package:assistant_openai/common/ai/models/newagentmodel.dart';
import 'package:assistant_openai/common/ai/models/newmessagethread.dart';
import 'package:assistant_openai/common/ai/models/runlistmodel.dart';
import 'package:assistant_openai/common/ai/models/runtooloutput.dart';
import 'package:assistant_openai/common/ai/models/threadMessageFileListModel.dart';
import 'package:assistant_openai/common/ai/models/threadMessageFileModel.dart';
import 'package:assistant_openai/common/ai/models/threadMessagesListModel.dart';
import 'package:assistant_openai/common/ai/models/threadmessageModel.dart';
import 'package:assistant_openai/common/ai/models/threadmodificationresponsemodel.dart';
import 'package:assistant_openai/common/ai/models/threadruncreatemodel.dart';
import 'package:assistant_openai/common/ai/models/threadsmodel.dart';
import 'package:assistant_openai/common/ai/models/toolData.dart';
import 'package:assistant_openai/common/ai/runnn.dart';
import 'package:assistant_openai/common/ai/threadMessages.dart';
import 'package:assistant_openai/common/ai/threads.dart';
import 'package:assistant_openai/common/internet.dart';
import 'package:assistant_openai/openaiassistant.dart';