engine

package
v0.0.0-...-8fd68b8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithActorStore

func WithActorStore(store *stores.ActorStore) options.Option[Engine]

WithActorStore sets the actor store for the Engine.

func WithContext

func WithContext(ctx context.Context) options.Option[Engine]

WithContext sets the context for the Engine.

func WithDB

func WithDB(db *gorm.DB) options.Option[Engine]

WithDB sets the database connection for the Engine.

func WithIdentifier

func WithIdentifier(id id.ID, name string) options.Option[Engine]

WithIdentifier sets the ID and name for the Engine.

func WithInteractionFragmentStore

func WithInteractionFragmentStore(store *stores.FragmentStore) options.Option[Engine]

WithInteractionFragmentStore sets the interaction fragment store for the Engine.

func WithLLMClient

func WithLLMClient(client *llm.LLMClient) options.Option[Engine]

WithLLMClient sets the LLM client for the Engine.

func WithLogger

func WithLogger(logger *logger.Logger) options.Option[Engine]

WithLogger sets the logger for the Engine.

func WithManagerOrder

func WithManagerOrder(order []manager.ManagerID) options.Option[Engine]

WithManagerOrder sets the execution order for managers in the Engine.

func WithManagers

func WithManagers(_managers ...manager.Manager) options.Option[Engine]

WithManagers sets the list of managers for the Engine, checking for duplicates and dependencies.

func WithSessionStore

func WithSessionStore(store *stores.SessionStore) options.Option[Engine]

WithSessionStore sets the session store for the Engine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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