modqnaopenai

package
v1.24.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "qna-openai"

Variables

This section is empty.

Functions

This section is empty.

Types

type QnAModule

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

func New

func New() *QnAModule

func (*QnAModule) AdditionalProperties

func (m *QnAModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty

func (*QnAModule) Arguments

func (*QnAModule) ClassConfigDefaults

func (m *QnAModule) ClassConfigDefaults() map[string]interface{}

func (*QnAModule) Init

func (m *QnAModule) Init(ctx context.Context,
	params moduletools.ModuleInitParams,
) error

func (*QnAModule) InitDependency

func (m *QnAModule) InitDependency(modules []modulecapabilities.Module) error

func (*QnAModule) InitExtension

func (m *QnAModule) InitExtension(modules []modulecapabilities.Module) error

func (*QnAModule) MetaInfo

func (m *QnAModule) MetaInfo() (map[string]interface{}, error)

func (*QnAModule) Name

func (m *QnAModule) Name() string

func (*QnAModule) PropertyConfigDefaults

func (m *QnAModule) PropertyConfigDefaults(
	dt *schema.DataType,
) map[string]interface{}

func (*QnAModule) RootHandler

func (m *QnAModule) RootHandler() http.Handler

func (*QnAModule) Type

func (*QnAModule) ValidateClass

func (m *QnAModule) ValidateClass(ctx context.Context,
	class *models.Class, cfg moduletools.ClassConfig,
) error

func (*QnAModule) VectorSearches

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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