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.7.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.7.tar.gz.

File metadata

  • Download URL: langchain_polaris_ai_datainsight-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 14089f9462e8df297b445cd33f393ea57795fef15f5eca9d5aa89015c4d25e97
MD5 dfc78c18ea0ed6625c1d9033e7f4f64b
BLAKE2b-256 3d5b3d052fcd790c535ed369b34983bea833d4d59d96bbc310703f0a0e27f8a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_polaris_ai_datainsight-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9c149d78d7d9b185d733cdb0f7d37f0acd0f6f6ea56a9f4c2e0008c797c3d5e6
MD5 f8103ecab16ccafd9cb31f21c778d893
BLAKE2b-256 4afad68f68c9e5bff9122c4ef49d65a8452723d10031cabfdce8a9385684f678

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