controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chat

func Chat(respw http.ResponseWriter, req *http.Request, tokenmodel string)

func LoadDataset

func LoadDataset(bucketName, objectName string) (map[string][]string, error)

LoadDataset loads the dataset from GCS bucket and returns a map of label to question-answer pair

Types

This section is empty.

Jump to

Keyboard shortcuts

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