scenes

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PromptID              = "dnd.scenes"
	ResponseSchemaKey     = llm.ResponseSchemaKey("dnd_scenes_llm")
	ResponseSchemaID      = "notarius.dnd.scenes.llm"
	ResponseSchemaVersion = "v1"
	ResponseSchemaName    = "notarius_dnd_scenes_llm_v1"
)
View Source
const Key = "dnd/scenes"

Variables

This section is empty.

Functions

func ModuleSpec

func ModuleSpec() pipeline.ModuleSpec

func Register

func Register(registry *pipeline.ChunkerRegistry) error

func RegisterPromptAssets

func RegisterPromptAssets(registry *llm.AssetRegistry) error

Types

type Chunker

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

func New

func New(llmClient contracts.StructuredLLMClient, _ Options) (*Chunker, error)

func (*Chunker) Key

func (c *Chunker) Key() string

func (*Chunker) ManifestMetadata

func (c *Chunker) ManifestMetadata() map[string]any

func (*Chunker) Plan

func (*Chunker) ReferenceSlots

func (c *Chunker) ReferenceSlots() []contracts.ReferenceSlot

type Options

type Options struct{}

func DecodeOptions

func DecodeOptions(options map[string]any) (Options, error)

Jump to

Keyboard shortcuts

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