langchain/libs/partners/fireworks
2024-02-26 12:46:39 -08:00
..
langchain_fireworks langchain[patch], core[patch], openai[patch], fireworks[minor]: ChatFireworks.with_structured_output (#18078) 2024-02-26 12:46:39 -08:00
scripts fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
tests fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
.gitignore fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
LICENSE fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
Makefile fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
poetry.lock fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
pyproject.toml fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00
README.md fireworks[patch]: Add Fireworks partner packages (#17694) 2024-02-23 20:45:47 +00:00

LangChain-Fireworks

This is the partner package for tying Fireworks.ai and LangChain. Fireworks really strive to provide good support for LangChain use cases, so if you run into any issues please let us know. You can reach out to us in our Discord channel

Basic LangChain-Fireworks example

Advanced

Tool use: LangChain Agent + Fireworks function calling model

Please checkout how to teach Fireworks function calling model to use a calculator here.

Fireworks focus on delivering the best experience for fast model inference as well as tool use. You can check out our blog for more details on how it fares compares to GPT-4, the punchline is that it is on par with GPT-4 in terms just function calling use cases, but it is way faster and much cheaper.

RAG: LangChain agent + Fireworks function calling model + MongoDB + Nomic AI embeddings

Please check out the cookbook here for an end to end flow