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.4.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file langchain_upstage-0.1.4.tar.gz
.
File metadata
- Download URL: langchain_upstage-0.1.4.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8bf138db1d44c1507231ffe457dda3630c6204c24240209fb08adfc3dcaea3 |
|
MD5 | 1ffefa139e480da1ff9f7f0282501a11 |
|
BLAKE2b-256 | 260eb45375cdb3d293ebef862685129c7d09a6f2ae3709d1ddf1214692275af6 |
File details
Details for the file langchain_upstage-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: langchain_upstage-0.1.4-py3-none-any.whl
- Upload date:
- Size: 14.2 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 | 87f6bcbe57f3fe9318a93cb85a71f893b1bb212e7c2e499e027d65e34664b47a |
|
MD5 | 54cbe8855bd8bf3ef62399506be7250d |
|
BLAKE2b-256 | 2d87fc7c3962ce0f2bb016106d85eba820567273e4242fa7cfc95601a1d2207e |