code.oscarkilo.com/klex-git/api/klex.go

..
api.go
datasets.go
embed.go
f.go
fake.go
fake_test.go
funcs.go
funcs_test.go
klex.go
messages.go
messages_test.go
pipelines.go
stream.go
worker.go
package api

// Klex is the Klex client interface. The real implementation is
// *Client (api.go); tests can substitute *Fake (fake.go).
//
// The interface covers the AI-ops surface of the Klex API. It starts
// minimal and grows as consumers need more methods.
type Klex interface {
  F(name, in string) (string, error)
  Messages(req MessagesRequest) (*MessagesResponse, error)
  Embed(req EmbedRequest) ([][]float32, error)
}