mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
.. | ||
langchain_fireworks | ||
scripts | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
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