knowledgefile

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(invoker *invoke.Invoker, gptScript *gptscript.GPTScript, limit int) *Handler

func (*Handler) Cleanup

func (h *Handler) Cleanup(req router.Request, _ router.Response) error

func (*Handler) IngestFile

func (h *Handler) IngestFile(req router.Request, _ router.Response) error

func (*Handler) Unapproved

func (h *Handler) Unapproved(req router.Request, _ router.Response) error

type UnsupportedError

type UnsupportedError struct {
	UnsupportedFiletype string `json:"unsupportedFiletype"`
}

func (*UnsupportedError) Error

func (u *UnsupportedError) Error() string

Jump to

Keyboard shortcuts

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