compactor

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotCompactor

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

SnapshotCompactor performs semantic compression and quality verification.

func (*SnapshotCompactor) CompactPromptPack

func (c *SnapshotCompactor) CompactPromptPack(ctx context.Context, endpointID string, targetInputTokens int, in model.PromptPack) (model.PromptPack, bool, verifier.VerifyResult, error)

func (*SnapshotCompactor) CompactThread

func (c *SnapshotCompactor) CompactThread(ctx context.Context, endpointID string, threadID string, turns []model.DialogueTurn, level string) (string, error)

Jump to

Keyboard shortcuts

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