Documentation
¶
Overview ¶
Package schema contains a stateful schema-v2 for AgentLLM.
Index ¶
- type ParamsCheckingMenuRefs
- type ParamsGenCharacter
- type ParamsGenResources
- type ParamsOrienting
- type PromptCheckingMenuRefs
- type PromptConfigTest
- type PromptGenCharacter
- type PromptGenResources
- type PromptOrienting
- type ResultCheckingMenuRefs
- type ResultGenCharacter
- type ResultGenResources
- type ResultOrienting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamsCheckingMenuRefs ¶ added in v0.5.0
type ParamsGenCharacter ¶ added in v0.5.0
type ParamsGenResources ¶ added in v0.5.0
type ParamsOrienting ¶ added in v0.5.0
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
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 ResultGenResources ¶ added in v0.5.0
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
Click to show internal directories.
Click to hide internal directories.