Friendli enhances AI application performance and optimizes cost savings with scalable, efficient deployment options, tailored for high-demand AI workloads.This tutorial guides you through integrating
Friendli
with LangChain.
@langchain/community
is installed.
FRIENDLI_TOKEN
environment.
You can set team id as FRIENDLI_TEAM
environment.
You can initialize a Friendli chat model with selecting the model you want to use. The default model is mixtral-8x7b-instruct-v0-1
. You can check the available models at docs.friendli.ai.