Skip to main content
This will help you get started with Pipeshift chat models. For detailed documentation of all ChatPipeshift features and configurations head to the API reference.

Overview

Integration details

Model features

Setup

To access Pipeshift models you’ll need to create an account on Pipeshift, get an API key, and install the langchain-pipeshift integration package.

Credentials

Head to Pipeshift to sign up to Pipeshift and generate an API key. Once you’ve done this set the PIPESHIFT_API_KEY environment variable:
If you want to get automated tracing of your model calls you can also set your LangSmith API key by uncommenting below:

Installation

The LangChain Pipeshift integration lives in the langchain-pipeshift package:

Instantiation

Now we can instantiate our model object and generate chat completions:

Invocation

Chaining

We can chain our model with a prompt template like so:

API reference

For detailed documentation of all ChatPipeshift features and configurations head to the API reference: dashboard.pipeshift.com/docs