summarization

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SystemPrompt = `` /* 381-byte string literal not displayed */

SystemPrompt is the default prompt for conversation summarization.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client provides LLM completion capabilities via the iris SDK.

func NewClient

func NewClient(cfg *config.Config) (*Client, error)

NewClient creates a new summarization client using the iris SDK.

func (*Client) Complete

func (c *Client) Complete(ctx context.Context, systemPrompt, userMessage string) (string, error)

Complete sends a completion request using the iris SDK and returns the response.

func (*Client) SummarizeMessages

func (c *Client) SummarizeMessages(ctx context.Context, messages []*types.Message) (string, error)

SummarizeMessages summarizes a list of conversation messages.

Jump to

Keyboard shortcuts

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