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

transcript

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package transcript logs the conversation as it grows. These lines contain prompt and reply text, so they go at a level of the caller's choosing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func New

func New(logger *slog.Logger, level slog.Level) *Logger

func (*Logger) Diff

func (t *Logger) Diff(ctx context.Context, iteration, start int, added []*schema.Message)

Diff logs the messages added during one iteration.

func (*Logger) Seed

func (t *Logger) Seed(ctx context.Context, msgs []*schema.Message)

Seed logs the starting messages.

Jump to

Keyboard shortcuts

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