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

File metadata

  • Download URL: langchain_polaris_ai_datainsight-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 55eea4e264847f5c2835a37653d10b48f9cd5a59c962f48312ed2bbab0167f97
MD5 45381393801053bd0a07fedd33a99ec4
BLAKE2b-256 c147c7c4ab81af49460b8d3b2d3c357e87b407e1c029baccd91f3cd8877fc053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_polaris_ai_datainsight-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7ead289dd71ae35c766c3dc6b9d632bd2f732b16a28e839ea1d575923a9a2a
MD5 8962861f34378bd8c354b61df1cb433b
BLAKE2b-256 70e6cd2dd329809ec8b37dc717708a55d63be1c9409e7a3ab43e4974cef97f24

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