agent

package
v0.0.0-...-62173e8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service provides and endpoint for this agent to perform chat completions

func NewService

func NewService(pubKey *ecdsa.PublicKey) *Service

func (*Service) ChatCompletion

func (s *Service) ChatCompletion(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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