Skip to main content

Documentation Index

Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-naomid-1779801766-572e290.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Fireworks AI hosts open and proprietary language models with fast inference. The langchain-fireworks package implements LangChain chat and embedding interfaces for the Fireworks API.

Installation and setup

pip install langchain-fireworks
Get an API key from fireworks.ai and set the FIREWORKS_API_KEY environment variable.

Model interfaces

ChatFireworks

Interface to chat models hosted on Fireworks AI.

FireworksEmbeddings

Embedding models served by Fireworks AI.

Components reference

ClassAbstractionImport pathDescription
ChatFireworksChat modelfrom langchain_fireworks import ChatFireworksChat model for Fireworks AI language models.
FireworksEmbeddingsEmbeddingsfrom langchain_fireworks import FireworksEmbeddingsEmbedding model for Fireworks AI.