langchain/libs/partners/upstage
Charlie Marsh fd94aa8366
partner[patch]: Upgrade to Ruff v0.4.2 (#21108)
## Summary

No new diagnostics (given that the set of enabled rules hasn't changed),
but gains access to our new parser (much faster) and reduced false
positives all around.
2024-04-30 15:06:42 -04:00
..
langchain_upstage upstage: Upstage Groundedness Check parameter update (#20914) 2024-04-26 17:34:05 +00:00
scripts upstage: init package (#20574) 2024-04-17 23:25:36 +00:00
tests upstage: Upstage Groundedness Check parameter update (#20914) 2024-04-26 17:34:05 +00: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 upstage: release 0.1.2 (#20898) 2024-04-25 10:41:19 -07:00
pyproject.toml partner[patch]: Upgrade to Ruff v0.4.2 (#21108) 2024-04-30 15:06:42 -04: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.