package
0.0.0-20240827022218-c2c2413fcc57
Repository: https://github.com/skyscrapr/openai-sdk-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewClient creates new OpenAI client.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
APIError provides error information returned by the OpenAI API.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Assistants Endpoint
Manage fine-tuning jobs to tailor a model to your specific training data.
No description provided by the author
No description provided by the author
Audio Endpoint
Learn how to turn audio into text.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Completions Endpoint
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
Client - OpenAI client.
No description provided by the author
No description provided by the author
Completions Endpoint
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Edits Endpoint
Given a prompt and an instruction, the model will return an edited version of the prompt.
Embeddings Endpoint
Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Files Endpoint
Files are used to upload documents that can be used with features like [Fine-tuning]: https://platform.openai.com/docs/api-reference/fine-tunes.
FineTuning Endpoint
Manage fine-tuning jobs to tailor a model to your specific training data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Images Endpoint
Given a prompt and/or an input image, the model will generate a new image.
No description provided by the author
No description provided by the author
Model - OpenAPI Model.
No description provided by the author
ModelsEndpoint - OpenAI Models Endpoint
List and describe the various models available in the API.
No description provided by the author
No description provided by the author
Moderations Endpoint
Given a input text, outputs if the model classifies it as violating OpenAI's content policy.
No description provided by the author
Permission - OpenAPI Permission.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProjectsEndpoint - OpenAI Projects Endpoint
List and describe the projects available.
No description provided by the author
No description provided by the author
No description provided by the author
RequestError provides informations about generic request errors.
No description provided by the author
No description provided by the author
No description provided by the author
VectorStores Endpoint
Vector stores are used to store files for use by the file_search tool.