Skip to main content

An integration package connecting Upstage and LangChain

Project description

langchain-upstage

This package contains the LangChain integrations for Upstage through their APIs.

Installation and Setup

  • Install the LangChain partner package
pip install -U langchain-upstage
  • Get an Upstage api key from Upstage Console and set it as an environment variable (UPSTAGE_API_KEY)

Chat Models

This package contains the ChatUpstage class, which is the recommended way to interface with Upstage models.

See a usage example

Embeddings

See a usage example

Use solar-embedding-1-large model for embeddings. Do not add suffixes such as -query or -passage to the model name. UpstageEmbeddings will automatically add the suffixes based on the method called.

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_upstage-0.1.6rc0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

langchain_upstage-0.1.6rc0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file langchain_upstage-0.1.6rc0.tar.gz.

File metadata

  • Download URL: langchain_upstage-0.1.6rc0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for langchain_upstage-0.1.6rc0.tar.gz
Algorithm Hash digest
SHA256 2a0a8cf3300c4cf7203c27214792f55d21d6c954a08f6bf75d88890ce1632e82
MD5 834c74575f95adf190bb16e680fdc30b
BLAKE2b-256 7ccd92ccf44c45a851842f74137af03f97898e01a22bd441b049bff7407c5a52

See more details on using hashes here.

File details

Details for the file langchain_upstage-0.1.6rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_upstage-0.1.6rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 904a75e79ff0d199c7ae6c7e02679f8baa274db887bd9b296df4fbe27708b739
MD5 ca5cd645d5e2b04d61b265d51b861d84
BLAKE2b-256 19d4c271538ab2c47366a127b980064814fcd0a6ee2573ff3503092c21f7de3b

See more details on using hashes here.

Supported by

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