langchain-upstage
package.
UPSTAGE_API_KEY
: Your Upstage API key from Upstage console.UpstageEmbeddings
class.
embed_documents
to embed list of texts or documents.
embed_query
to embed query string.
aembed_documents
and aembed_query
for async operations.
UpstageEmbeddings
with vector store component. The following demonstrates a simple example.