chathistory

package
v0.9.78 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConversation

func NewConversation() *api.Conversation

Types

type Store

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

func NewStore

func NewStore(appHome string) *Store

func (*Store) Delete

func (s *Store) Delete(id string) error

func (*Store) Get

func (s *Store) Get(id string) (*api.Conversation, error)

func (*Store) List

func (s *Store) List() ([]api.ConversationMeta, error)

func (*Store) Save

func (s *Store) Save(conv *api.Conversation) error

func (*Store) Search

func (s *Store) Search(query string) ([]api.ConversationMeta, error)

Jump to

Keyboard shortcuts

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