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.20-cp313-cp313-win_amd64.whl (716.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_generation_binary-0.6.20-cp313-cp313-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.20-cp313-cp313-macosx_13_0_arm64.whl (773.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_generation_binary-0.6.20-cp312-cp312-win_amd64.whl (720.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.20-cp312-cp312-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.20-cp312-cp312-macosx_13_0_arm64.whl (771.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.20-cp311-cp311-win_amd64.whl (752.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.20-cp311-cp311-manylinux_2_31_x86_64.whl (983.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.20-cp311-cp311-macosx_13_0_arm64.whl (767.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5cbd6759aa1d4dbbabf188e3445ac466333662ec6f2d5fce7f9980dfc8f568ef
MD5 a6a14575100c6161ccfc8ab76ae0fd2e
BLAKE2b-256 80d0cbcca464e418d1f5d66df8ab758bacf3b0aa05f9461dfae0a61fe082ed36

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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.20-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5772716823e50f5e2d9cf31f81798f7f1fd3c23100c952ca8717ee832bfffafc
MD5 a9e81e4733c293d3409eaa73180d9d1e
BLAKE2b-256 d8426092c694976278ae2a59337166cfdd4de2ab56e5cb432c0b242661014144

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3cb5d7acdae096c62db00fd5d25f97e5da19458fdb3a1b9ca1c9d389597e5839
MD5 41b786e1608b8934b220f7c4601df441
BLAKE2b-256 fc98da20c66bc448d78477c4be315eccb9f7beb0cff621a377fe9cd40cd450e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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.20-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a2feb6a9c39e435a909ebf59c09cf3b31bccf12e86ed8ad5e8d4d9069cc23c03
MD5 eff2f416a3aaa548398e6ee6274cadb9
BLAKE2b-256 ac7b389131799924c6f0dec0468416e2b4c7639622a525a521df4675be9e12ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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.20-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fc6d1be0ef5ff39636e43373c8613f086aedb541866d4d4a0828dd233e7e9ca0
MD5 70d9047db78b772a41aa885f5d5c055d
BLAKE2b-256 869eba276b4b304857580e3ace9ea5c92c818f55fda0ac3738785a0b8d418baa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 51030fb5917dcb353b7f7c1a196b146893c663254b7b40a4f82d7c196038f1bf
MD5 75655e1e0227ee1535b472ee8687aade
BLAKE2b-256 0937e9e533c5d8468be85ebeb29d12fedd3809791aa78e98cf53aa60fb3a37f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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.20-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5b8cfbb844544091a692ffd5d1a9c53eeb03fdbd05bdc46c557f4e564d832022
MD5 baad45bc1354723e42dbd650bdd974ad
BLAKE2b-256 4b72612aadf568361cec83e9b9602669b62912714a41131c139a54e212db95e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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.20-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1e2682c280628190dc5dd6b03a5ee7bb306dbd4b0907dd58e413e0a7c592d00c
MD5 2f45d2cefc7ee4bec1d4b7377ed57e5d
BLAKE2b-256 a8960508fe4f23bf34e7fee253c489dbda6fa5cfc8338ccd5695dfac693dafbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.20-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 444337ed0885d5196badae83bf8fde3b28b627738ca9c8be31fc9d07207d29a1
MD5 5306ddaae3d7d83d61f5fd48ad70ad7a
BLAKE2b-256 72fc79d2769269534d5413794b53a3caa901ca1fb88b6d0294a39f064691fe93

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.20-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