schema

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package schema contains a stateful schema-v2 for AgentLLM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamsCheckingMenuRefs added in v0.5.0

type ParamsCheckingMenuRefs struct {
	Choices []string
	Prompt  string
}

type ParamsGenCharacter added in v0.5.0

type ParamsGenCharacter struct {
	CharacterProfession string
	CharacterYear       int
}

type ParamsGenResources added in v0.5.0

type ParamsGenResources struct {
	Phrases map[string]string
}

type ParamsOrienting added in v0.5.0

type ParamsOrienting struct {
	Prompt string
	// List of possible agent-specific choices to take.
	MovesAgent map[string]string
	// List of possible stories to switch to and their descriptions.
	MovesStories map[string]string
}

type PromptCheckingMenuRefs added in v0.5.0

type PromptCheckingMenuRefs = secai.Prompt[ParamsCheckingMenuRefs, ResultCheckingMenuRefs]

func NewPromptCheckingMenuRefs added in v0.5.0

func NewPromptCheckingMenuRefs(agent shared.AgentBaseAPI) *PromptCheckingMenuRefs

type PromptConfigTest added in v0.5.0

type PromptConfigTest = secai.Prompt[struct{}, struct{}]

func NewPromptConfigTest added in v0.5.0

func NewPromptConfigTest(agent shared.AgentBaseAPI) *PromptConfigTest

type PromptGenCharacter added in v0.5.0

type PromptGenCharacter = secai.Prompt[ParamsGenCharacter, ResultGenCharacter]

func NewPromptGenCharacter added in v0.5.0

func NewPromptGenCharacter(agent shared.AgentBaseAPI) *PromptGenCharacter

type PromptGenResources added in v0.5.0

type PromptGenResources = secai.Prompt[ParamsGenResources, ResultGenResources]

func NewPromptGenResources added in v0.5.0

func NewPromptGenResources(agent shared.AgentBaseAPI) *PromptGenResources

type PromptOrienting added in v0.5.0

type PromptOrienting = secai.Prompt[ParamsOrienting, ResultOrienting]

func NewPromptOrienting added in v0.5.0

func NewPromptOrienting(agent shared.AgentBaseAPI) *PromptOrienting

type ResultCheckingMenuRefs added in v0.5.0

type ResultCheckingMenuRefs struct {
	// The referenced index.
	RefIndex int
}

type ResultGenCharacter added in v0.5.0

type ResultGenCharacter struct {
	// 3 sentences describing the character's personality and background.
	Description string
	Profession  string
	Year        int
	Name        string
}

type ResultGenResources added in v0.5.0

type ResultGenResources struct {
	Phrases map[string][]string
}

type ResultOrienting added in v0.5.0

type ResultOrienting struct {
	// Users choice
	Move string
	// TODO debug
	Reasoning string
	// Certainty is the probability that the next move is correct.
	Certainty float64
}

TODO add Removing

func (ResultOrienting) String added in v0.5.0

func (r ResultOrienting) String() string

Jump to

Keyboard shortcuts

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