systemone

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package systemone is a classify.Classifier for the SystemOne API (kev-compatible), which LocalAI, vllm.cpp and kev serve at POST {base_url}/systemone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client talks to one SystemOne server.

func New

func New(baseURL, apiKey, model string, timeout time.Duration) *Client

New returns a client for the server at baseURL (e.g. http://host:8080/v1).

func (*Client) Classify

func (c *Client) Classify(ctx context.Context, state string, qs map[string]classify.Question) (map[string]classify.Answer, error)

Classify implements classify.Classifier.

Jump to

Keyboard shortcuts

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