Preview Flyte 2 for productionHosted on Union.ai

This is the Flyte SDK (v2) version of this plugin. The Flytekit version is available as flytekitplugins-openai.

OpenAI

OpenAI

flyteplugins-openai

Flyte SDK (v2)Model Servingopenaillmagentsai

This plugin provides a drop-in replacement for OpenAI packages. It provides

Install
pip install flyteplugins-openai

Quick Start(example, may need adjustment)

See full examples
pip install flyteplugins-openai

from flytekit import task, workflow
from flyteplugins.openai.agents import function_tool

@task
def my_task() -> None:
    function_tool(...)

@workflow
def my_workflow() -> None:
    my_task()

Available Imports (1)

taskfunction_tool

Task for OpenAI.

from flyteplugins.openai.agents import function_tool

Dependencies

openai-agents

Related Plugins

Package Info

Min Flyte SDK
Modules1

Downloads

Last day56
Last week274
Last month1,020