bhlquest

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of the app. Hardcoded version appears only in release builds.
	Version = "v0.0.15"

	// Build timestamp
	Build string
)

Functions

func GetVersion

func GetVersion() gnvers.Version

GetVersion provides version information of the app.

Types

type BHLQuest added in v0.0.1

type BHLQuest interface {
	// Init bootstraps AI engines providing necessary data and metadata.
	Init() error
	Ask(q string) (output.Answer, error)
	GetConfig() config.Config
	SetConfig(config.Config) BHLQuest
}

BHLQuest provides functionality needed to apply AI to BHL.

func New added in v0.0.1

func New(
	cfg config.Config,
	cmp Components,
) BHLQuest

New creates a new instance of BHLQuest.

type Components added in v0.0.1

type Components struct {
	bhln.BHLN
	embed.Embed
	rerank.Reranker
	gpt.GPT
}

Directories

Path Synopsis
ent

Jump to

Keyboard shortcuts

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