gpt

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPTClient

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

func NewGPTClient

func NewGPTClient(enabled bool, token string, logger *zap.Logger) *GPTClient

func (*GPTClient) ParseTitle

func (c *GPTClient) ParseTitle(ctx context.Context, title string, pathTemplateData *template.PathTemplateData) error

func (*GPTClient) TranscribeText

func (c *GPTClient) TranscribeText(ctx context.Context, audioFilePath string) (string, error)

Jump to

Keyboard shortcuts

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