Documentation
¶
Overview ¶
Package fireworks provides a provider implementation for Fireworks AI's API.
Fireworks uses an OpenAI-compatible API, so this is a thin wrapper around openai_compatible with the correct base URL.
Basic usage:
provider, _ := fireworks.New("fw_your-key")
proxy := llmproxy.NewProxy(provider)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(apiKey string) (*openai_compatible.Provider, error)
New creates a new Fireworks provider with the given API key. The provider is configured to use Fireworks' API endpoint (https://api.fireworks.ai/inference).
Example:
provider, _ := fireworks.New("fw_your-fireworks-api-key")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.