sessiontitle

package
v0.0.212 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acceptable

func Acceptable(c Candidate) bool

func BuildConversationSlice

func BuildConversationSlice(messages []session.Message) string

Types

type Candidate

type Candidate struct {
	ShortTitle string  `json:"short_title"`
	LongTitle  string  `json:"long_title"`
	Confidence float64 `json:"confidence"`
}

func Generate

func Generate(ctx context.Context, provider llm.Provider, sess *session.Session, messages []session.Message) (Candidate, error)

func ParseCandidate

func ParseCandidate(raw string) (Candidate, error)

Jump to

Keyboard shortcuts

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