digitalocean

package
v1.38.21 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelLister

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

ModelLister fetches the model catalogue from a DigitalOcean Serverless Inference endpoint and caches the result in-memory.

func NewModelLister

func NewModelLister(timeout time.Duration) *ModelLister

func (*ModelLister) ListModels

func (l *ModelLister) ListModels(ctx context.Context, baseURL, apiKey, weaviateUUID string) ([]string, error)

Jump to

Keyboard shortcuts

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