openai

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

type OrganizationInfo

type OrganizationInfo struct {
	Object      string `json:"object"`
	OrgId       string `json:"id"`
	Created     int64  `json:"created"`
	Title       string `json:"title"`
	Name        string `json:"name"`
	Personal    bool   `json:"personal"`
	ParentOrgId string `json:"parent_org_id"`
}

type Profile

type Profile struct {
	UserID    string `json:"id"`
	FirstName string `json:"name"`
	Email     string `json:"email"`
	Orgs      struct {
		Data []OrganizationInfo `json:"data"`
	} `json:"orgs"`
}

Profile represents the structure of our profile data.

Jump to

Keyboard shortcuts

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