handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateConversationRequest added in v0.1.0

type CreateConversationRequest struct {
	Name  string `json:"name,omitempty"`
	Model string `json:"model"`
}

type LLMHandler added in v0.1.0

type LLMHandler struct{}

func NewLLMHandler added in v0.1.0

func NewLLMHandler() *LLMHandler

func (*LLMHandler) CreateChatCompletion added in v0.1.0

func (l *LLMHandler) CreateChatCompletion(c echo.Context) error

func (*LLMHandler) CreateConversation added in v0.1.0

func (l *LLMHandler) CreateConversation(c echo.Context) error

func (*LLMHandler) CreateMessage added in v0.1.0

func (l *LLMHandler) CreateMessage(c echo.Context) error

func (*LLMHandler) DeleteConversation added in v0.1.0

func (l *LLMHandler) DeleteConversation(c echo.Context) error

func (*LLMHandler) DeleteMessage added in v0.1.0

func (l *LLMHandler) DeleteMessage(c echo.Context) error

func (*LLMHandler) GetConversation added in v0.1.0

func (l *LLMHandler) GetConversation(c echo.Context) error

func (*LLMHandler) GetMessage added in v0.1.0

func (l *LLMHandler) GetMessage(c echo.Context) error

func (*LLMHandler) ListConversations added in v0.1.0

func (l *LLMHandler) ListConversations(c echo.Context) error

func (*LLMHandler) ListMessages added in v0.1.0

func (l *LLMHandler) ListMessages(c echo.Context) error

Jump to

Keyboard shortcuts

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