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
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.3.tar.gz
(10.7 kB
view details)
Built Distribution
File details
Details for the file langchain_upstage-0.1.3.tar.gz
.
File metadata
- Download URL: langchain_upstage-0.1.3.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4e215bdc94e1a6b03724a2b91c3c9f54db300ad4e8a8e787000352f3485a453 |
|
MD5 | e5264f9254f6cf9f8bcab1ec10dc5afb |
|
BLAKE2b-256 | 288fd9c50389a363a5c33daecacad1b95418c686a9166f9490ff49a6392cfc6a |
File details
Details for the file langchain_upstage-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: langchain_upstage-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84c8ac5b9fefe4640c8a22d14e67ed94788aa87f76949efc1f62980a1fc043d8 |
|
MD5 | 2d55d949ab46bb72e92a5d4df777f9f9 |
|
BLAKE2b-256 | fefe7ad9b4d7fddaa190e0713a56b0805142b3ecfc7ec3759342e8a284a24319 |