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.1.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for langchain_upstage-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ab9bac4b358645f0111a8723f5b629c41d626ea051734271331b17b79dc855 |
|
MD5 | ef5011a6f1cf63e589f306cc7e9eea7e |
|
BLAKE2b-256 | bc47cf7c5caca864daf20b5ab3d626ef24ae998286678c7e2e532e23b099dda3 |