# Functions
GetModel returns the model ID corresponding to the given model name.
GetSummaryPrefixArgs returns the SummaryPrefixParams struct corresponding to the given JSON data.
New creates a new OpenAI API client with the given options.
NewHeaders creates a new http.Header from the given slice of headers.
WithApiVersion returns a new Option that sets the apiVersion for OpenAI Model.
WithBaseURL returns a new Option that sets the base URL for the client configuration.
WithFrequencyPenalty returns a new Option that sets the frequencyPenalty for the client configuration.
WithHeaders returns a new Option that sets the headers for the http client configuration.
WithMaxTokens returns a new Option that sets the max tokens for the client configuration.
WithModel is a function that returns an Option, which sets the model field of the config struct.
WithModelName sets the `modelName` variable to the provided `val` parameter.
WithOrgID is a function that returns an Option, which sets the orgID field of the config struct.
WithPresencePenalty returns a new Option that sets the presencePenalty for the client configuration.
WithProvider sets the `provider` variable based on the value of the `val` parameter.
WithProxyURL is a function that returns an Option, which sets the proxyURL field of the config struct.
WithSkipVerify returns a new Option that sets the skipVerify for the client configuration.
WithSocksURL is a function that returns an Option, which sets the socksURL field of the config struct.
WithTemperature returns a new Option that sets the temperature for the client configuration.
WithTimeout returns a new Option that sets the timeout for the client configuration.
WithToken is a function that returns an Option, which sets the token field of the config struct.
WithTopP returns a new Option that sets the topP for the client configuration.
# Variables
DefaultModel is the default OpenAI model to use if one is not provided.
SummaryPrefixFunc is a openai function definition.
# Structs
Client is a struct that represents an OpenAI client.
DefaultHeaderTransport is an http.RoundTripper that adds the given headers to.
No description provided by the author
SummaryPrefixParams is a struct that stores configuration options for the get_summary_prefix function.
# Interfaces
Option is an interface that specifies instrumentation configuration options.