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.2.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

langchain_upstage-0.1.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_upstage-0.1.2.tar.gz
  • Upload date:
  • Size: 10.5 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.2.tar.gz
Algorithm Hash digest
SHA256 21f8c8445499059bea6ec31d48a5185454271b8385978c1ae345887506bb3f71
MD5 890ca862b875c30f252a37030435d65e
BLAKE2b-256 3d184cbd4a610630a114107a8a781070c8a422ba778a246009d7922fb77e1087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_upstage-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45f8cb383b33680543271604a643d38859ff9d33a4a14af3a7fd4a1932341790
MD5 668ec9c21d4faae63b321c155d671e1b
BLAKE2b-256 8c36ad359998fcf3c17c0f51b5bdcaddc84434a0c04b185fd0243b2b28cc36bc

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