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
junkeon 8d2909ee25
upstage[minor]: Update few codes and add upstage loader in pdf section (#21085)
**Description:** Update UpstageLayoutAnalysisParser and Loader and add
upstage loader example in pdf section
**Dependencies:** langchain_community
**Twitter handle:** [@upstageai](https://twitter.com/upstageai)

- [x] **Add tests and docs**: If you're adding a new integration, please
include
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.


- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:
- Make sure optional dependencies are imported within a function.
- Please do not add dependencies to pyproject.toml files (even optional
ones) unless they are required for unit tests.
- Most PRs should not touch more than one package.
- Changes should be backwards compatible.
- If you are adding something to community, do not re-import it in
langchain.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, hwchase17.
2 months ago
..
langchain_upstage upstage[minor]: Update few codes and add upstage loader in pdf section (#21085) 2 months ago
scripts upstage: init package (#20574) 3 months ago
tests upstage[minor]: Update few codes and add upstage loader in pdf section (#21085) 2 months ago
.gitignore upstage: init package (#20574) 3 months ago
LICENSE upstage: init package (#20574) 3 months ago
Makefile upstage: init package (#20574) 3 months ago
README.md upstage: init package (#20574) 3 months ago
poetry.lock upstage[minor]: Update few codes and add upstage loader in pdf section (#21085) 2 months ago
pyproject.toml partner[patch]: Upgrade to Ruff v0.4.2 (#21108) 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.