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 different integrations:

pip install 'poma[langchain]'
pip install 'poma[llamaindex]'
pip install 'poma[qdrant]'

# Or LangChain/LlamaIndex/Qdrant including example extras:
pip install 'poma[all]'
  • 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 sdk@poma-ai.com

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

We provide 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.3.2.tar.gz (83.0 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.3.2-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for poma-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b865f4b37d6b1024399a9ea240378dfe55b738ca2ec4a13c945e3ff62474d4c4
MD5 acf46277d0ae0dad3df3ffe90819c944
BLAKE2b-256 7d283653beeb0ef57635596e734efc792f3af00386c28a23cb9d5f8486489042

See more details on using hashes here.

Provenance

The following attestation bundles were made for poma-0.3.2.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.3.2-py3-none-any.whl.

File metadata

  • Download URL: poma-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 36.5 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0423539fbe570548a8b60d810c7b9f8a5e7df79df455799a17362cc92edadf
MD5 56731ea68578d49d9a8b346438a283dc
BLAKE2b-256 a232e2d2e320495f5d57394ef1f93dfa3b8f659b4fae66d8f19a80e4fc8798ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for poma-0.3.2-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