Versions in this module Expand all Collapse all v0 v0.1.13 Feb 5, 2025 Changes in this version + var ErrEmptyResponse = errors.New("empty response") + type Client struct + Args []string + BinPath string + GlobalAsArgs bool + func New(binPath string, globalAsArgs bool, args ...string) (*Client, error) + func (c *Client) CreateCompletion(ctx context.Context, r *CompletionRequest) (*Completion, error) + type Completion struct + Text string + type CompletionRequest struct + Prompt string