Skip to main content

Official Python SDK for the Poma document-processing API

Project description

POMA AI Logo

📚 POMA: Preserving Optimal Markdown Architecture

🚀Quick-Start Guide

Installation

Requires Python 3.10+. Install the core packages:

pip install poma

For integrations into LangChain and LlamaIndex:

pip install poma[integrations]
# Or LangChain/LlamaIndex including example extras:
pip install poma[integration-examples]
  • You may also want: pip install python-dotenv to load API keys from a .env file.
  • API keys required (POMA_API_KEY) for the POMA AI client via environment variables.
  • To request a POMA_API_KEY, please contact us at api@poma-ai.com

Example Implementations — all examples, integrations, and additional information can be found in our GitHub repository: poma-ai/poma

We provide four example implementations to help you get started with POMA AI:

  • example.py — A standalone implementation for documents, showing the basic POMA AI workflow with simple keyword-based retrieval
  • example_langchain.py — Integration with LangChain, demonstrating how easy it is to use POMA AI with LangChain
  • example_llamaindex.py — Integration with LlamaIndex, showing how simple it is to use POMA AI with LlamaIndex

Note: The integration examples use OpenAI embeddings. Make sure to set your OPENAI_API_KEY environment variable, or replace the embeddings with your preferred ones.

All examples follow the same two-phase process (ingest → retrieve) but demonstrate different integration options for your RAG pipeline.

! Please do NOT send any sensitive and/or personal information to POMA AI endpoints without having a signed contract & DPA !

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

poma-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

poma-0.1.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file poma-0.1.0.tar.gz.

File metadata

  • Download URL: poma-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for poma-0.1.0.tar.gz
Algorithm Hash digest
SHA256 221ea93c860a22a7b577ecced18e72c347476dcec927e0a4b11d8239442347c5
MD5 73c7aae68c8e34f1f56f6ac9c9ae7ff6
BLAKE2b-256 3a5647b9b490d49da764d7897cfcca5062d9fdbccb9123d2da4ae29a179120b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for poma-0.1.0.tar.gz:

Publisher: python-publish.yml on poma-ai/poma-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file poma-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: poma-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for poma-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d08a7ffad5268ad91f5d7e8ef4780a1087bc1d9ac5b21cacea985f1df5c5f9c9
MD5 f4f742a1f6695ac436e21a7ea9075391
BLAKE2b-256 6a1cdbe6e79b12f4a065bde868c3de6ddef0138cefcfe99b73f02fdbc37e0305

See more details on using hashes here.

Provenance

The following attestation bundles were made for poma-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on poma-ai/poma-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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