Skip to main content

An integration package connecting PODataInsight and LangChain

Project description

langchain-polaris-ai-datainsight

This package covers Polaris AI DataInsight integration with LangChain.

Polaris AI DataInsight is a document parser that extracts document elements (text, images, complex tables, charts, etc.) from various file formats into structured JSON, making them easy to integrate into RAG systems.

  • Supported document formats : docx, xlsx, pptx, hwpx, hwp
  • Supported elements types : text, table, image, chart, shape, header, footer, caption

Documents

You can refer to the following examples to learn how to work with PolarisAIDataInsightLoader.

  1. How to load documents in langchain Open In Colab

  2. How to build a RAG: Refer to a cookbook directory

Installation and Setup

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

pip install -U langchain-polaris-ai-datainsight

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

export POLARIS_AI_DATA_INSIGHT_API_KEY="your-api-key"

Refer to here how to get an Polaris AI DataInsight API key.

Document Loaders

from langchain_polaris_ai_datainsight import PolarisAIDataInsightLoader

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_polaris_ai_datainsight-0.0.4.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file langchain_polaris_ai_datainsight-0.0.4.tar.gz.

File metadata

  • Download URL: langchain_polaris_ai_datainsight-0.0.4.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.11 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for langchain_polaris_ai_datainsight-0.0.4.tar.gz
Algorithm Hash digest
SHA256 969468f92f4061e7e6f778c90a9294977cebcb6a9cc6b7fe4535bf340de16a38
MD5 581621ac32ebc2a0294b6ab015ff5787
BLAKE2b-256 bc53d5b7b2a892b37e18aeb82373677e57d23767caf1ab2d9e8b83ddd2489b49

See more details on using hashes here.

File details

Details for the file langchain_polaris_ai_datainsight-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_polaris_ai_datainsight-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f0976faf05ebcad24dd60adad9f711cf418aba3b4491a0f832aa7c7be74ce6f
MD5 d0796b9c24e82e117bc534fe9a64ca8c
BLAKE2b-256 495637948a2c83d23db7f5b7c3897b45639149557bd6168cf98b07fc293c74c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page