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.5.tar.gz (5.8 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.5.tar.gz.

File metadata

  • Download URL: langchain_polaris_ai_datainsight-0.0.5.tar.gz
  • Upload date:
  • Size: 5.8 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.5.tar.gz
Algorithm Hash digest
SHA256 8a708f0019a90a3d7602f138ef138e136a1050012a171b7ad4c56fcb86d67cb9
MD5 ecc5039f00988ceb98fb238dc50cce3b
BLAKE2b-256 a166cbc8d3675dfaf8778f53d4e2deb7f7350fb5790effa659f9c94d6ae085f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_polaris_ai_datainsight-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 93561449062ea1ecd4c4407897b32a964f10ac59565fc077eaeba02712cd081f
MD5 2fff81fa9d6a127837791a62a1844ac5
BLAKE2b-256 42f4510502ca23eaaa69faa539c5c29aacdeda872a21dd9d5c81d66e8573d09e

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