Setup
To run this example, you’ll need:- A Baseten account
- An API key
BASETEN_API_KEY.
Single model call
First, you’ll need to deploy a model to Baseten. You can deploy foundation models like Mistral and Llama 2 with one click from the Baseten model library or if you have your own model, deploy it with Truss. In this example, we’ll work with Mistral 7B. Deploy Mistral 7B here and follow along with the deployed model’s ID, found in the model dashboard.Chained model calls
We can chain together multiple calls to one or multiple models, which is the whole point of LangChain! For example, we can replace GPT with Mistral in this demo of terminal emulation.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

