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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for langchain_upstage-0.1.6rc0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0a8cf3300c4cf7203c27214792f55d21d6c954a08f6bf75d88890ce1632e82 |
|
MD5 | 834c74575f95adf190bb16e680fdc30b |
|
BLAKE2b-256 | 7ccd92ccf44c45a851842f74137af03f97898e01a22bd441b049bff7407c5a52 |
Close
Hashes for langchain_upstage-0.1.6rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904a75e79ff0d199c7ae6c7e02679f8baa274db887bd9b296df4fbe27708b739 |
|
MD5 | ca5cd645d5e2b04d61b265d51b861d84 |
|
BLAKE2b-256 | 19d4c271538ab2c47366a127b980064814fcd0a6ee2573ff3503092c21f7de3b |