OpenAI ChatGPT agent#

Note

To use the ChatGPT agent, you must pip install flytekitplugins-openai.

class flytekitplugins.openai.ChatGPTTask(*args, **kwargs)#

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

get_custom(settings)#

Return additional plugin-specific custom data (if any) as a serializable dictionary.

Parameters:

settings (SerializationSettings)

Return type:

Dict[str, Any]