gpt

package
v0.0.0-...-607e100 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPT

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

func NewGPT

func NewGPT() (*GPT, error)

func (*GPT) ParseRequest

func (c *GPT) ParseRequest(request *Request) (Response, error)

type Request

type Request struct {
	Description string `json:"description"`
	Today       string `json:"today"`
}

type Response

type Response struct {
	Title string `json:"title"`
	Date  string `json:"date"`
	Notes string `json:"notes"`
}

Jump to

Keyboard shortcuts

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