This page contains reference documentation for Fireworks. See the docs for conceptual guides, tutorials, and examples on using Fireworks modules.
Fireworks embedding model integration.
Setup:
Install langchain_fireworks and set environment variable
FIREWORKS_API_KEY.
pip install -U langchain_fireworks
export F
LLM models from Fireworks.
To use, you'll need an API key. This can be passed in as
init param fireworks_api_key or set as environment variable
FIREWORKS_API_KEY.
[Fire
BadRequestError raised when input exceeds Fireworks's context limit.
Fireworks authentication error classified as a LangChain model error.
Fireworks permission error classified as a LangChain model error.
Fireworks bad-request error classified as a LangChain model error.
Fireworks not-found error classified as a LangChain model error.
Fireworks rate-limit error classified as a LangChain model error.
Fireworks server error classified as a LangChain model error.
Fireworks connection error classified as a LangChain model error.
Fireworks timeout error classified as a LangChain model error.
Fireworks stream read timeout classified as a retryable model error.
Fireworks Chat large language models API.
To use, you should have the
environment variable FIREWORKS_API_KEY set with your API key.
Any parameters that are valid to be passed to the fireworks.cr
Document compressor that uses Fireworks' reranking API.
Set Fireworks prompt-cache session affinity from the active thread ID.
Fireworks prompt caching is enabled by default. This middleware improves cache hit rate by pinning session affinity to a SHA-256
Fireworks AI integration for LangChain.
Backwards-compatible re-export from langchain_fireworks._version.
Wrapper around Fireworks AI's Completion API.
Fireworks chat wrapper.
Fireworks document reranking integration.
Model profile data. All edits should be made in profile_augmentations.toml.
Middleware for Fireworks models.
Middleware for Fireworks prompt-cache session affinity.
Requires langchain for the agent middleware framework. It is imported lazily,
and an ImportError with install guidance is raised if it is m