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-1-mini-embedding as the default 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.5.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

langchain_upstage-0.1.5-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file langchain_upstage-0.1.5.tar.gz.

File metadata

  • Download URL: langchain_upstage-0.1.5.tar.gz
  • Upload date:
  • Size: 11.6 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.5.tar.gz
Algorithm Hash digest
SHA256 482667f31b88ca09866eb250030b34295ee115ef526bb016391f037e6cf2155f
MD5 84144fdb3475397d44e8fb9a0f2ac3a8
BLAKE2b-256 0f9162876d0f19a6287a5c5759dd46b9f7bfa6b1c7d9b993e325051f52d12e1e

See more details on using hashes here.

File details

Details for the file langchain_upstage-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_upstage-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ac46c7a7c4eddd1bebab54af0cab45d100b89a807f53b254eaad49d86f919b09
MD5 3c042f49af3bbcbe2e31870b3ca9105b
BLAKE2b-256 6d8140ff9b664b419456a3725d29572d56bdefb25b5b6edf4d9dbabf4ed80295

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