langchain/libs/partners/upstage
2024-06-04 15:20:41 -04:00
..
langchain_upstage upstage[patch] : fix error handling in Layout Analysis parser (#22054) 2024-05-23 11:45:34 -04:00
scripts upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
tests upstage[patch] : fix error handling in Layout Analysis parser (#22054) 2024-05-23 11:45:34 -04:00
.gitignore upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
LICENSE upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
Makefile upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
poetry.lock together, upstage: bump minimum langchain-openai version (#22505) 2024-06-04 15:20:41 -04:00
pyproject.toml together, upstage: bump minimum langchain-openai version (#22505) 2024-06-04 15:20:41 -04:00
README.md partner-upstage[patch]: embeddings empty list bug (#22057) 2024-05-23 11:44:30 -04:00

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.