Optional
fields: anyOptional
fireworksCalls the OpenAI API with retry logic in case of failures.
The request to send to the OpenAI API.
Optional
options: RequestOptionsOptional configuration for the API call.
The response from the OpenAI API.
Optional
options: RequestOptionsStatic
lc_
Wrapper around Fireworks API for large language models
Fireworks API is compatible to the OpenAI API with some limitations described in https://readme.fireworks.ai/docs/openai-compatibility.
To use, you should have the
openai
package installed and theFIREWORKS_API_KEY
environment variable set.