llm

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLMClient

type LLMClient interface {
	ChatCompletion(*payload.Request, context.Context) (*payload.Response, error)
	ChatCompletionStream(*payload.Request, context.Context, func(*payload.Response) error) error
}

func GetLLMClient

func GetLLMClient(model string) LLMClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳