1.16.32
flytekitplugins.openai.chatgpt.connector
Directory
Classes
| Class | Description |
|---|---|
ChatGPTConnector |
Variables
| Property | Type | Description |
|---|---|---|
OPENAI_API_KEY |
str |
|
TIMEOUT_SECONDS |
int |
flytekitplugins.openai.chatgpt.connector.ChatGPTConnector
Parameters
def ChatGPTConnector()Properties
| Property | Type | Description |
|---|---|---|
task_category |
flytekit.extend.backend.base_connector.TaskCategory |
task category that the connector supports |
Methods
| Method | Description |
|---|---|
do() |
This is the method that the connector will run. |
do()
def do(
task_template: flytekit.models.task.TaskTemplate,
inputs: typing.Optional[flytekit.models.literals.LiteralMap] = None,
**kwargs,
) -> flytekit.extend.backend.base_connector.ResourceThis is the method that the connector will run.
| Parameter | Type | Description |
|---|---|---|
task_template |
flytekit.models.task.TaskTemplate |
|
inputs |
typing.Optional[flytekit.models.literals.LiteralMap] |
|
**kwargs |