Metadata-Version: 2.3
Name: langchain-polaris-ai-datainsight
Version: 0.1.0
Summary: An integration package connecting PODataInsight and LangChain
License: MIT
Author: Ernie
Author-email: ernie.c.jeong@polarisoffice.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: langchain-core (>=0.3.15,<0.4.0)
Requires-Dist: polaris-ai-datainsight (>=0.1.1,<0.2.0)
Requires-Dist: python-dotenv (>=1.1.0,<2.0.0)
Project-URL: Homepage, https://datainsight.polarisoffice.com/
Project-URL: Repository, https://github.com/PolarisOfficeRnD/PolarisAIDataInsight
Project-URL: Source Code, https://github.com/PolarisOfficeRnD/PolarisAIDataInsight/langchain-polaris-ai-datainsight
Description-Content-Type: text/markdown

# langchain-polaris-ai-datainsight

This package covers Polaris AI DataInsight integration with LangChain.

Converts documents in various formats—including Word, HWP, Sheets, Slides, and PDF—into List of Document.

## Installation and Setup

To use PolarisAIDataInsight model, you need to install a python package:

```bash
pip install -U langchain-polaris-ai-datainsight
```

And you should configure credentials by setting the following environment variables:

```bash
export POLARIS_AI_DATA_INSIGHT_API_KEY="your-api-key"
```

Refer to [here](https://datainsight.polarisoffice.com/documentation/quickstart) how to get an Polaris AI DataInsight API key.


## Document Loaders


```python
from langchain_polaris_ai_datainsight import PolarisAIDataInsightLoader

loader = PolarisAIDataInsightLoader(
    file_path="path/to/file",
    resources_dir="path/to/dir"
)
```
