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

Uploaded CPython 3.13Windows x86-64

gllm_generation_binary-0.6.21-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.21-cp313-cp313-macosx_13_0_arm64.whl (774.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_generation_binary-0.6.21-cp312-cp312-win_amd64.whl (720.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.21-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.21-cp312-cp312-macosx_13_0_arm64.whl (771.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.21-cp311-cp311-win_amd64.whl (753.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.21-cp311-cp311-manylinux_2_31_x86_64.whl (984.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.21-cp311-cp311-macosx_13_0_arm64.whl (768.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f6a567211a3e15f57078665e4232986a381069846b65c85578a00e91c70f65b2
MD5 534ec39da188e1f51cf2cdf5b5a7aaf7
BLAKE2b-256 9a84c9971631d11a75a15a40dc238518d2b75bd67be8624b8ca4f8d23732c9f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 84326f81ae127e0089293eeb7f8820dbe9a4f8fdc629fee39a71659fcd04615e
MD5 7a1d389098b0a0163d9d47343e27134f
BLAKE2b-256 4b34e7ef664585eb10762a021dee23304dab1f599aa989ed18737c2e981a7376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a8a17d1a622160363d9a912f20eb49c0d5a5257d329205ea112650534d666bb2
MD5 0de47a86bf4f07f1d98cd20ae0820af6
BLAKE2b-256 7a05e30553b0e1f680c1c64d08e8e05eaddb76068ff76c7b6a964a571cd0cda1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1eb7a9d34a100cb18dfc51cb39221c13a1b0c48024932b981ccd612859c74099
MD5 24919b4093a5998759bdcf8134d48c11
BLAKE2b-256 a345f34a30a58c78bfe2977c499218f2d415521d505afaf1e898b31b5a59a5b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d083c35d71d29315f25f98400476ca838c4aa80969c76fa084df6d9817f320a3
MD5 b537cc8a9af1c90c14284796f283b2ee
BLAKE2b-256 1d100fd78aa5b5722d04be7e93dd9f54ffea80be817e86b5844f74736d5b3f24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1aeaf2e1dcebed0bd9bc4cae5fe8abb3c123e628cfb0f569a4b21485e9729c65
MD5 cd1c1d6f360f5e75f110c63d0107afae
BLAKE2b-256 6857cb89cc58ce8b371dd7352fcb64541c3b92fbff0914e2dddeb7a87b93e78f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5985cc93fa39d2fb87401763c95d1f928bbd9fac94cbf0663437ead28e994545
MD5 5849adc9cc65aa8ba6423f8b5f05b1e3
BLAKE2b-256 482e2cff1a7b482b7e7d933789611b0317b41aca9c79320695a87ab64778cd31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eb1481c48a1c37c81d0fff8f23e1918c9e645f605aa9d809ddee6be8cb9de23f
MD5 f0a6b0c2d29da481ec39e336712eee7e
BLAKE2b-256 3a83bb0c68effc5c9c2baedcad52eaa856de3bbec687d726422ec1a0dc3cc042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.21-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f803fefe35328b157bf3871f1195d19b4f2a702faa92a431b70568773b73c3ac
MD5 7619a93991413413911a413201ab6f6b
BLAKE2b-256 b62bb38ac98a63b54bc0de8efe68e695685fe7ec413781943985ff48708dc656

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

0.6.22

9 files

This release

0.6.21 This release

9 files

0.6.20

9 files

0.6.19

9 files

0.6.18

9 files

0.6.17.post1

6 files

0.6.17

2 files

0.6.16

6 files

0.6.15

6 files

0.6.14

6 files

0.5.35.post1

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page