language_model

package
v0.0.0-...-6e75e83 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatGPT

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

func (*ChatGPT) ConstructQuestionGPT

func (w *ChatGPT) ConstructQuestionGPT(mess string, search *message.ParserRequest) (*int, error)

type LanguageModel

type LanguageModel interface {
	ConstructQuestionGPT(mess string, search *message.ParserRequest) (*int, error)
}

func NewChatGPTWrapper

func NewChatGPTWrapper(token string, log *zap.Logger) LanguageModel

Jump to

Keyboard shortcuts

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