openai_chatgpt_assistant 1.0.2 openai_chatgpt_assistant: ^1.0.2 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 openai_chatgpt_assistant
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
openai_chatgpt_assistant: ^1.0.2
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:openai_chatgpt_assistant/common/ai/assistant.dart';
import 'package:openai_chatgpt_assistant/common/ai/client.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/ThreadModificationModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/agentModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/assistantFileList.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/assistantList.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/assistantfileobject.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/createRunModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/deletedAssistantFileModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/deletedAssistantResponse.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/messagesFile.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/newagentmodel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/newmessagethread.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/runlistmodel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/runtooloutput.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadMessageFileListModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadMessageFileModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadMessagesListModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadmessageModel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadmodificationresponsemodel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadruncreatemodel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/threadsmodel.dart';
import 'package:openai_chatgpt_assistant/common/ai/models/toolData.dart';
import 'package:openai_chatgpt_assistant/common/ai/runnn.dart';
import 'package:openai_chatgpt_assistant/common/ai/threadMessages.dart';
import 'package:openai_chatgpt_assistant/common/ai/threads.dart';
import 'package:openai_chatgpt_assistant/common/internet.dart';
import 'package:openai_chatgpt_assistant/openaiassistant.dart';