Skip to main content

An integration package connecting Pipeshift and LangChain

Project description

langchain-pipeshift

This package contains the LangChain integration with Pipeshift

Installation

  • Start by installing the package:
pip install -U langchain-pipeshift

Environment Variables

  • Head on to Pipeshift Dashboard to get your API key.
  • Add the api key to your environment variables:
PIPESHIFT_API_KEY=<your-api-key>

Chat Models

ChatPipeshift class exposes chat models from Pipeshift.

from langchain_pipeshift import ChatPipeshift

llm = ChatPipeshift()
llm.invoke("Sing a ballad of LangChain.")

LLMs

Pipeshift class exposes LLMs from Pipeshift.

from langchain_pipeshift import Pipeshift

llm = Pipeshift()
llm.invoke("The meaning of life is")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_pipeshift-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_pipeshift-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file langchain_pipeshift-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_pipeshift-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for langchain_pipeshift-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4cf598112d41b89df4707911e96e367c53b47509b2e7df8fc85a8a74becf8859
MD5 e9600aacda3c31ba3dbb906fa8a1b7bb
BLAKE2b-256 6347cbd20179238776030cb3e8a14cfcfcddfe5b0df9157f2f0d5b43e07f2543

See more details on using hashes here.

File details

Details for the file langchain_pipeshift-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pipeshift-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de2eae7e5657a40af6515f0fb979936383e15ef4c9f35fa047fe475edd5429c5
MD5 20bbb0ca191f93a397e3543baca36bce
BLAKE2b-256 7cf9f7ca8decbee4bc6eb9ca9c64e22d264aa60edd36a1a69d72d80b70229510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page