Installation
Installlangchain-upstage package.
Environment Setup
Make sure to set the following environment variables:- UPSTAGE_API_KEY: Your Upstage API key from Upstage console.
Usage
InitializeUpstageEmbeddings class.
embed_documents to embed list of texts or documents.
embed_query to embed query string.
aembed_documents and aembed_query for async operations.
Using with vector store
You can useUpstageEmbeddings with vector store component. The following demonstrates a simple example.
Connect these docs programmatically to Claude, VSCode, and more via MCP for    real-time answers.