You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/partners/upstage
ccurme 3c53cea760
together, upstage: bump minimum langchain-openai version (#22505)
4 months ago
..
langchain_upstage upstage[patch] : fix error handling in Layout Analysis parser (#22054) 4 months ago
scripts
tests upstage[patch] : fix error handling in Layout Analysis parser (#22054) 4 months ago
.gitignore
LICENSE
Makefile
README.md partner-upstage[patch]: embeddings empty list bug (#22057) 4 months ago
poetry.lock together, upstage: bump minimum langchain-openai version (#22505) 4 months ago
pyproject.toml together, upstage: bump minimum langchain-openai version (#22505) 4 months ago

README.md

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-embedding-1-large 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.