OpenAI reference#

Tags: Integration, OpenAI

BatchEndpointAgent()

BatchEndpointTask(*args, **kwargs)

BatchResult(output_file, error_file)

DownloadJSONFilesTask(*args, **kwargs)

UploadJSONLFileTask(*args, **kwargs)

OpenAIFileConfig(secret[, openai_organization])

create_batch(name, secret[, ...])

Uploads JSON data to a JSONL file, creates a batch, waits for it to complete, and downloads the output/error JSON files.

ChatGPTAgent()

ChatGPTTask(*args, **kwargs)

This is the simplest form of a ChatGPT Task, you can define the model and the input you want.