An integration package connecting Upstage (including Solar LLM, OCR, and layout analysis) with LangChain. Current version 0.7.7, requires Python >=3.10. Released under the langchain-ai organization with a cadence that follows LangChain integration updates.
pip install langchain-upstageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize ChatUpstage with an API key set as environment variable and invoke a simple message.
Upgrade Python to 3.10 or newer.
Set environment variable: export UPSTAGE_API_KEY='your_key'
Use model_name='solar-1-mini-chat' or the appropriate model string.
Run: pip install upstage
Use correct import: from langchain_upstage import ChatUpstage. Also update to latest version: pip install -U langchain-upstage