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
Sean e1c2e2fdfa
upstage: Upstage Groundedness Check parameter update (#20914)
* Groundedness Check takes `str` or `list[Document]` as input.

* Deprecate `GroundednessCheck` due to its naming.
* Added `UpstageGroundednessCheck`. 

* Hotfix for Groundedness Check parameter. 
  The name `query` was misleading and it should be `answer` instead.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2 months ago
..
langchain_upstage upstage: Upstage Groundedness Check parameter update (#20914) 2 months ago
scripts upstage: init package (#20574) 2 months ago
tests upstage: Upstage Groundedness Check parameter update (#20914) 2 months ago
.gitignore upstage: init package (#20574) 2 months ago
LICENSE upstage: init package (#20574) 2 months ago
Makefile upstage: init package (#20574) 2 months ago
README.md upstage: init package (#20574) 2 months ago
poetry.lock upstage: release 0.1.2 (#20898) 2 months ago
pyproject.toml upstage: release 0.1.2 (#20898) 2 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-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.