langchain/libs/partners/upstage
ccurme 4470d3b4a0
partners: bump core in packages implementing ls_params (#21868)
These packages all import `LangSmithParams` which was released in
langchain-core==0.2.0.

N.B. we will need to release `openai` and then bump `langchain-openai`
in `together` and `upstage`.
2024-05-20 11:51:43 -07:00
..
langchain_upstage core, standard tests, partner packages: add test for model params (#21677) 2024-05-17 13:51:26 -04:00
scripts upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
tests core, standard tests, partner packages: add test for model params (#21677) 2024-05-17 13:51:26 -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 partners: bump core in packages implementing ls_params (#21868) 2024-05-20 11:51:43 -07:00
pyproject.toml partners: bump core in packages implementing ls_params (#21868) 2024-05-20 11:51:43 -07:00
README.md upstage: init package (#20574) 2024-04-17 23:25:36 +00: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-1-mini-embedding as the default 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.