Pipeshift
This will help you get started with Pipeshift completion models (LLMs) using LangChain. For detailed documentation on Pipeshift
features and configuration options, please refer to the API reference.
Overview
Integration details
Class | Package | Local | Serializable | JS support | Package downloads | Package latest |
---|---|---|---|---|---|---|
Pipeshift | langchain-pipeshift | ❌ | - | ❌ |
Setup
To access Pipeshift models you'll need to create a Pipeshift account, 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:
import getpass
import os
if not os.getenv("PIPESHIFT_API_KEY"):
os.environ["PIPESHIFT_API_KEY"] = getpass.getpass("Enter your Pipeshift API key: ")
If you want to get automated tracing of your model calls you can also set your LangSmith API key by uncommenting below:
# os.environ["LANGCHAIN_TRACING_V2"] = "true"
# os.environ["LANGCHAIN_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")