1.16.26

OpenAI

Directory

Classes

Class Description
flytekitplugins.openai.batch.connector.BatchEndpointConnector
flytekitplugins.openai.batch.connector.BatchEndpointMetadata
flytekitplugins.openai.batch.connector.State
flytekitplugins.openai.batch.task.BatchEndpointTask
flytekitplugins.openai.batch.task.BatchResult
flytekitplugins.openai.batch.task.DownloadJSONFilesExecutor
flytekitplugins.openai.batch.task.DownloadJSONFilesTask
flytekitplugins.openai.batch.task.OpenAIFileConfig
flytekitplugins.openai.batch.task.OpenAIFileDefaultImages Default images for the openai batch plugin.
flytekitplugins.openai.batch.task.UploadJSONLFileExecutor
flytekitplugins.openai.batch.task.UploadJSONLFileTask
flytekitplugins.openai.chatgpt.connector.ChatGPTConnector
flytekitplugins.openai.chatgpt.task.ChatGPTTask This is the simplest form of a ChatGPT Task, you can define the model and the input you want.

Functions

Function Description
flytekitplugins.openai.batch.workflow.create_batch() Uploads JSON data to a JSONL file, creates a batch, waits for it to complete, and downloads the output/error JSON files.

Packages

Package Description
flytekitplugins.openai.batch.connector
flytekitplugins.openai.batch.task
flytekitplugins.openai.batch.workflow
flytekitplugins.openai.chatgpt.connector
flytekitplugins.openai.chatgpt.task