cmd

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrStoreTypeNotSet             = "store.type must be set"
	ErrPostgresDSNNotSet           = "store.postgres.dsn must be set"
	ErrOtelEnabledButExporterEmpty = "OpenTelemtry is enabled but OTEL_EXPORTER_OTLP_ENDPOINT is not set"
	StoreTypePostgres              = "postgres"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root cobra command.

func NewAppState

func NewAppState(cfg *config.Config) *models.AppState

NewAppState creates an AppState struct from the config file / ENV, initializes the stores, extractors, and creates the OpenAI client

Types

This section is empty.

Jump to

Keyboard shortcuts

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