Skip to main content

GLLM Generation

Description

A library containing generation related components in Gen AI applications.


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.

uv pip install \
  --extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
  gllm-generation

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-generation

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_generation_binary-0.6.19-cp313-cp313-win_amd64.whl (667.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_generation_binary-0.6.19-cp313-cp313-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.19-cp313-cp313-macosx_13_0_arm64.whl (717.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_generation_binary-0.6.19-cp312-cp312-win_amd64.whl (670.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.19-cp312-cp312-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.19-cp312-cp312-macosx_13_0_arm64.whl (715.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.19-cp311-cp311-win_amd64.whl (700.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.19-cp311-cp311-manylinux_2_31_x86_64.whl (925.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.19-cp311-cp311-macosx_13_0_arm64.whl (713.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_generation_binary-0.6.19-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1088c647ec2099e08b80c4b83de8f589f9cde87c169a00c9ba8a64996bfb64b7
MD5 3e1bc7d1c3ff8d25fb71420523b9a305
BLAKE2b-256 178473ddcaf97f10416cbdd3f8c295cbfb7d1e2ecaf1b570b920a4ca20c3bc2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 gllm_generation_binary-0.6.19-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17a731d897949c1dd85ac9a4f0e88ca8eb9a9e76647be2fc5b9d71e012d3977d
MD5 79342fbda194666ab884f6c301a01cf6
BLAKE2b-256 a0b0b2b44c5a64d02e3ca37e94f17adfabda45007a04197236412a44b7af8832

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.19-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7d4aac145c28c894ccd6ad13e0fcbd55e643cf59be633a0f1dde7375d98cb87a
MD5 e84c4ce674565bc0887ec306f144c1e0
BLAKE2b-256 50a8b501b72b58a20f48d9249e817a27679fe309ee20afb6dadb79209aa33ea0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 gllm_generation_binary-0.6.19-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 138bac92016205e75eefae3e67eb9a2aeb262fcdb5bdbcbce007340278652348
MD5 2cb63ba7e79f1a4dcfa4afa64178f216
BLAKE2b-256 c8f7825b1ec20e2de6ca7617f0c752f20b5ec5124010ecd3bf831311b7e9cf81

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 gllm_generation_binary-0.6.19-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ec0f5484b285a501199b2923a56f434c04f2dbf90e438249b001739028b66b95
MD5 5309abc3a602d4b4bd0da82b5c1b300d
BLAKE2b-256 a62eed9c8edeb88feb6a628b34c6d50fead7bdc59a9d90f1b5d1a6cd11db6f02

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.19-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 486ae56892155b327098724d70a0c31b5da7fbff72d146883cd195b752050438
MD5 139ddbdd5b39707caee523a41ba3a96f
BLAKE2b-256 aa4e96bbb0765784379b6f7fbf0926efd6a0cbce4dd5e630c37868495ad24b3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 gllm_generation_binary-0.6.19-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0e5b80ed3f458fe6d951b133f1842ab88a8069872cdea397dc58074c96bde34f
MD5 a365d1452d46289fbc719e4084d25557
BLAKE2b-256 e944acf0ae00098abbd652c3fe17f1b1d2d72fa812462c7d4ec4224641e37a02

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 gllm_generation_binary-0.6.19-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2a71262b2fb24d571f2ea3d2f993215203a9677350e4782471a12d3658a17e4c
MD5 cd149964d992a4d44578cb3fda240e04
BLAKE2b-256 a08891554f7bbfebfd86cf378877b73ffd6e88188b5084afa358fc9683e1a506

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.19-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.19-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ace1e74c966c0dc77da3728805be0c2690036150d2904775a9ae2f100077547a
MD5 29fc31e2b8398b71c487200027129a88
BLAKE2b-256 bfcbabeb4afc37836555a4942eb695c43c1ee365238baaf16084eb4ec702e5a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.19-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-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 Sentry Error logging StatusPage Status page