Versions in this module Expand all Collapse all v1 v1.45.0 Jul 7, 2026 v1.44.0 Jul 3, 2026 Changes in this version + const Description + const Hostname + const Name + const Version + var Demo = define.Web + var DemoInit = define.Web + var DemoStatus = define.Web + var Embed = define.Function + var MaxWorkers = define.Config + var Similarity = define.Function + type Client struct + func NewClient(caller service.Publisher) Client + func (_c Client) Demo(ctx context.Context, method string, relativeURL string, body any) (res *http.Response, err error) + func (_c Client) DemoInit(ctx context.Context, relativeURL string, body any) (res *http.Response, err error) + func (_c Client) DemoStatus(ctx context.Context, relativeURL string) (res *http.Response, err error) + func (_c Client) Embed(ctx context.Context, text string) (vector []float64, err error) + func (_c Client) ForHost(host string) Client + func (_c Client) Similarity(ctx context.Context, a string, b string) (score float64, err error) + func (_c Client) WithOptions(opts ...pub.Option) Client + type EmbedIn struct + Text string + type EmbedOut struct + Vector []float64 + type EmbedResponse multicastResponse + func (_res *EmbedResponse) Get() (vector []float64, err error) + type MulticastClient struct + func NewMulticastClient(caller service.Publisher) MulticastClient + func (_c MulticastClient) Demo(ctx context.Context, method string, relativeURL string, body any) iter.Seq[*pub.Response] + func (_c MulticastClient) DemoInit(ctx context.Context, relativeURL string, body any) iter.Seq[*pub.Response] + func (_c MulticastClient) DemoStatus(ctx context.Context, relativeURL string) iter.Seq[*pub.Response] + func (_c MulticastClient) Embed(ctx context.Context, text string) iter.Seq[*EmbedResponse] + func (_c MulticastClient) ForHost(host string) MulticastClient + func (_c MulticastClient) Similarity(ctx context.Context, a string, b string) iter.Seq[*SimilarityResponse] + func (_c MulticastClient) WithOptions(opts ...pub.Option) MulticastClient + type SimilarityIn struct + A string + B string + type SimilarityOut struct + Score float64 + type SimilarityResponse multicastResponse + func (_res *SimilarityResponse) Get() (score float64, err error)