gopenai

module
v0.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT

README

gopenai

Unit Tests CodeQL Go Report Card Go Reference

Go (Golang) bindings for the OpenAI API. This library is community maintained and unofficial.

The links below lead to examples of how to use each library package.

Usage Policies

If you use this library, you must conform to Open AI's Usage Policies.

Other Language Bindings

For another great Go implementation, see sashabaranov/go-openai. For other languages, see Open AI's Website.

Contributing

Contributions in any form are welcomed! Please submit an issue if you wish to report a bug, provide feedback, or intend to make code contributions yourself.

Directories

Path Synopsis
Package audio provides bindings for the [audio] [endpoint].
Package audio provides bindings for the [audio] [endpoint].
Package authentication provides helpful authentication-related functions.
Package authentication provides helpful authentication-related functions.
Package chat provides bindings for the [chat] [endpoint].
Package chat provides bindings for the [chat] [endpoint].
Package common contains common API structures and helper functions, not specific to an endpoint or model.
Package common contains common API structures and helper functions, not specific to an endpoint or model.
Deprecated: Replaced by Chat Completions.
Deprecated: Replaced by Chat Completions.
Package embeddings provides bindings for the [embeddings] [endpoint].
Package embeddings provides bindings for the [embeddings] [endpoint].
examples
Package files provides bindings for the [files] [endpoint].
Package files provides bindings for the [files] [endpoint].
Package fine-tuning provides bindings for the [finetunes] [endpoint].
Package fine-tuning provides bindings for the [finetunes] [endpoint].
Package images provides bindings for the [images] [endpoint].
Package images provides bindings for the [images] [endpoint].
Package models provides bindings for the [models] [endpoint].
Package models provides bindings for the [models] [endpoint].
Package moderations provides bindings for the [moderations] [endpoint].
Package moderations provides bindings for the [moderations] [endpoint].

Jump to

Keyboard shortcuts

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