Versions in this module Expand all Collapse all v0 v0.1.0 Apr 13, 2021 v0.0.1 Apr 13, 2021 Changes in this version + type GPT2 struct + func NewGPT2() *GPT2 + func (g *GPT2) Query(ctx context.Context, query string) (string, error) + func (g *GPT2) WithClient(c *http.Client) *GPT2 + func (g *GPT2) WithEndpoint(endpoint string) *GPT2 + func (g *GPT2) WithMaxLength(maxLength int) *GPT2 + func (g *GPT2) WithMinLength(minLength int) *GPT2 + type GPT3 struct + func NewGPT3() *GPT3 + func (g *GPT3) Query(ctx context.Context, query string) (string, error) + func (g *GPT3) WithClient(c *http.Client) *GPT3 + func (g *GPT3) WithEndpoint(endpoint string) *GPT3 + type Net interface + Query func(ctx context.Context, query string) (string, error)