Help us shape the future of Go! Take the 2026 Go Developer Survey

perplexity

package
v1.4.550 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package perplexity connects Fabric to the Perplexity Agent API. The Agent API uses the OpenAI Responses format, so the OpenAI client does the work.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*openai.Client
}

func NewClient

func NewClient() *Client

func (*Client) ListModels

func (c *Client) ListModels(ctx context.Context) ([]string, error)

ListModels adds the presets to the models of the Agent API.

Jump to

Keyboard shortcuts

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