package
2.4.3
Repository: https://github.com/proxati/llm_proxy.git
Documentation: pkg.go.dev

# Functions

NewOpenAIChatCompletionRequest creates a new OpenAI ChatCompletion Request object from a JSON string.
NewOpenAIChatCompletionResponse creates a new OpenAI ChatCompletion Response object from a JSON string.

# Variables

APIEndpointData is populated from init() with data loaded from the embedded JSON file.

# Structs

APIEndpoint represents the pricing data for a single API endpoint, such as "https://api.openai.com/v1/chat/completions".
Product represents a model or other product attached to an endpoint.