ai

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the Copilot SDK for workflow generation

func NewClient

func NewClient() *Client

NewClient creates a new AI client

func (*Client) GenerateWorkflow

func (c *Client) GenerateWorkflow(ctx context.Context, prompt string) (*GenerateWorkflowResult, error)

GenerateWorkflow creates a workflow from a natural language prompt

func (*Client) Start

func (c *Client) Start(ctx context.Context) error

Start initializes the Copilot client

func (*Client) Stop

func (c *Client) Stop() error

Stop shuts down the Copilot client

type GenerateWorkflowResult

type GenerateWorkflowResult struct {
	Name        string
	Description string
	YAML        string
}

GenerateWorkflowResult contains the generated workflow

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL