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
Built Distribution
Close
Hashes for langchain_upstage-0.1.0rc0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84958aa8695e1bba193fa013e00c51b4258110b01e298af8d5fe9f8d541d9058 |
|
MD5 | 33f52b811603c99429f5f49ec0ffab81 |
|
BLAKE2b-256 | 2a8fe6e0937b11d46c4087e2b3b29d71a8b7fc446149b263c0c7e75cb50029fb |
Close
Hashes for langchain_upstage-0.1.0rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5614e74db9eb87c907a228258d19e5759a9450f74baccd9b46a8263cc9322184 |
|
MD5 | ab72aafebc940449a0a583260b02fe78 |
|
BLAKE2b-256 | 56c236a882dbec062c33e2e09b413d84bd38c9587db03b4e9c9bbd1860601dee |