Skip to main content

GLLM Docproc

Description

A library for orchestrating the processing of document. Typically in a Gen AI applications (but not limited to just Gen AI).


Installation

Prerequisites

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here
  4. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Install from Artifact Registry

This requires authentication via the gcloud CLI.

  1. Export token
export GCLOUD_ACCESS_TOKEN="$(gcloud auth print-access-token)"
  1. Configure the index in your pyproject.tom;
[[tool.uv.index]]
name = "gen-ai-internal"
url = "https://oauth2accesstoken:${GCLOUD_ACCESS_TOKEN}@glsdk.gdplabs.id/gen-ai-internal/simple/"
  1. Add the dependency
uv add gllm-docproc

Local Development Setup

Prerequisites

  1. Python 3.11+ — Install here

  2. pip — Install here

  3. uv — Install here

  4. gcloud CLI — Install here, then log in using:

    gcloud auth login
    
  5. Git — Install here

  6. Access to the GDP Labs SDK GitHub repository


1. Clone Repository

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-docproc

2. Setup Authentication

Set the following environment variables to authenticate with internal package indexes:

export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)"
export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)"

3. Quick Setup

Run:

make setup

4. Activate Virtual Environment

source .venv/bin/activate

Local Development Utilities

The following Makefile commands are available for quick operations:

Install uv

make install-uv

Install Pre-Commit

make install-pre-commit

Install Dependencies

make install

Update Dependencies

make update

Run Tests

make test

Contributing

Please refer to the Python Style Guide for information about code style, documentation standards, and SCA requirements.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

gllm_docproc_binary-0.12.13-cp313-cp313-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.13-cp312-cp312-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_docproc_binary-0.12.13-cp311-cp311-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

Details for the file gllm_docproc_binary-0.12.13-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6cb17b0d58634977da6acb09fae0e7368251112d966e4ba69abd41069152bd61
MD5 f7829ef8983e7ffdcfa92a90189586a7
BLAKE2b-256 c1b750653fc15f0ab3fd552b9e7e369057670aaf65f86b1087d96a77a374c416

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.13-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74aec6bd53b9a7ebb7e7423f12c76fa1c16a81335c75d49318aa5b77d8958c06
MD5 bb0b14732d0e96e25481afecd06f0fab
BLAKE2b-256 8ecc713ca22f624a6139be6a6a97413c50f855e7a2eb1468cb3c3893ecb55671

See more details on using hashes here.

File details

Details for the file gllm_docproc_binary-0.12.13-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_docproc_binary-0.12.13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fd313e4dea5f32a319e720c3cac9b6733705542136d752a6a0c644abead1705b
MD5 0e1bf5ce1002e173acb6b21fba7eddd3
BLAKE2b-256 4192be0a9caa4b21a21c619f700ea4ac6720c16982669df0a8fd58b5cfd285e2

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page