Skip to main content

A library containing generation related components in Gen AI applications.

Project description

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.

Project details


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.14-cp312-cp312-win_amd64.whl (626.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.14-cp312-cp312-manylinux_2_31_x86_64.whl (956.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.14-cp312-cp312-macosx_13_0_arm64.whl (674.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.14-cp311-cp311-win_amd64.whl (655.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.14-cp311-cp311-manylinux_2_31_x86_64.whl (872.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.14-cp311-cp311-macosx_13_0_arm64.whl (670.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_generation_binary-0.6.14-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 29e1882c84d15aa0c3dcb5b765c4a4a13283c33e1ee521e53f054b38f383be2a
MD5 c92c34a0ba1dd9a0d2a44464a80c8c78
BLAKE2b-256 e25f5116ae3110bfd200c1013cd1a0e84c737c704b046c2dd77cca3baadbe563

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1e2a273b71292fad89c3604e259e38013c6d7bb67be5621e1128049ab8cb909
MD5 092605ae42d72a9bbaaae15319871569
BLAKE2b-256 c742fc32726c4f7fb7224d5f344e701b71b19d4a7e2247167e1876d66ed37a5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 08c6bbc075fafc8d475f26ab4c1fa6c0458ffe2669d410c38542297e75f17ecf
MD5 bb33da6dbb86a7faec6a21f56cca373b
BLAKE2b-256 66b4fcf641e31729b73576f26a8d496d894722464f26f3ef4c37c6fabc50c99b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1c4d7490dc59811f9a90f3fed58bafe8a4323792d7d17dc5d0e41d915311798f
MD5 8c78c91b420755b98fef9557a2ebd27f
BLAKE2b-256 808794fa2f6983f0fa208002c7dec88bb7a6e00ae79804af757db039c9704c9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7797d4fa5193a2eebdad9d6240d38437e5ee75765adb4a4ab5b2bd0b88c831e9
MD5 0edfe1406aeb27636b3e30d5de7e651d
BLAKE2b-256 0bde89f031064713165304d936c709a4620c15d5fcb0b94afcc71cb92336729d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.14-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a99a4c8b3704e30041e61a7bfa089a7d748aba8d43f7e2d11cde4925c831788d
MD5 1b209eab1a0207576a71f144f9122b33
BLAKE2b-256 0d9b2f961844805b4fa2f77da1d281bd014b7936fdcd9a1025606e5c0238694f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.14-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 Pingdom Monitoring Sentry Error logging StatusPage Status page