internal

package
v0.0.0-...-389fe15 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Region      string
	Environment string
	HTTPPort    string
	DBPath      string
	OpenAIKey   string
}

func NewConfiguration

func NewConfiguration() (*Configuration, error)

func (*Configuration) Validate

func (c *Configuration) Validate() error

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService() (*Service, error)

func (*Service) Init

func (s *Service) Init(ragService *rag.Service) error

func (*Service) Run

func (s *Service) Run() error

func (*Service) StartHTTP

func (s *Service) StartHTTP(ctx context.Context) error

Directories

Path Synopsis
api
transport
env
log

Jump to

Keyboard shortcuts

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