Documentation
¶
Index ¶
- func WithActorStore(store *stores.ActorStore) options.Option[Engine]
- func WithContext(ctx context.Context) options.Option[Engine]
- func WithDB(db *gorm.DB) options.Option[Engine]
- func WithIdentifier(id id.ID, name string) options.Option[Engine]
- func WithInteractionFragmentStore(store *stores.FragmentStore) options.Option[Engine]
- func WithLLMClient(client *llm.LLMClient) options.Option[Engine]
- func WithLogger(logger *logger.Logger) options.Option[Engine]
- func WithManagerOrder(order []manager.ManagerID) options.Option[Engine]
- func WithManagers(_managers ...manager.Manager) options.Option[Engine]
- func WithSessionStore(store *stores.SessionStore) options.Option[Engine]
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 ¶
WithContext sets the context for the Engine.
func WithIdentifier ¶
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 ¶
WithLLMClient sets the LLM client for the Engine.
func WithLogger ¶
WithLogger sets the logger for the Engine.
func WithManagerOrder ¶
WithManagerOrder sets the execution order for managers in the Engine.
func WithManagers ¶
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.
Click to show internal directories.
Click to hide internal directories.