perplexity

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.perplexity"
	PluginVersion = "1.5.15"
	PluginPackage = "rtp-agent.plugins.perplexity"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PerplexityLLM

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

func NewPerplexityLLM

func NewPerplexityLLM(apiKey string, model string) *PerplexityLLM

func (*PerplexityLLM) BaseURL

func (l *PerplexityLLM) BaseURL() string

func (*PerplexityLLM) Chat

func (l *PerplexityLLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)

func (*PerplexityLLM) Model

func (l *PerplexityLLM) Model() string

Jump to

Keyboard shortcuts

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