entry

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Entry    *store.Entry
	Persona  *persona.Persona
	Snapshot *metrics.Snapshot
}

Result contains the generated entry and associated metadata

func Generate

func Generate(ctx context.Context, cfg *config.Config, personaName string) (*Result, error)

Generate creates a new journal entry with the given persona It gathers metrics, calls the LLM, and saves to the database

Jump to

Keyboard shortcuts

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