Documentation
¶
Overview ¶
Package fireworks provides Fireworks AI API integration for the LLM gateway.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registration = providers.Registration{ Type: "fireworks", New: New, Discovery: providers.DiscoveryConfig{ DefaultBaseURL: defaultBaseURL, }, }
Registration provides factory registration for the Fireworks AI provider.
Functions ¶
func New ¶
func New(cfg providers.ProviderConfig, opts providers.ProviderOptions) core.Provider
New creates a new Fireworks AI provider.
Types ¶
type Provider ¶
type Provider struct {
*openai.ChatCompatible
}
Provider implements the core.Provider interface for Fireworks AI. Fireworks' inference API is OpenAI-compatible (chat completions, model listing, embeddings); model IDs are account-scoped paths such as "accounts/fireworks/models/llama-v3p1-8b-instruct" and pass through unchanged.
Click to show internal directories.
Click to hide internal directories.