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

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.15-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.15-cp312-cp312-macosx_13_0_arm64.whl (675.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.15-cp311-cp311-win_amd64.whl (656.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.15-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.15-cp311-cp311-macosx_13_0_arm64.whl (671.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ab68d3cfedc00e895629c5ff44c4fa5f5e06aa89ee7b119bffaf286000d2a567
MD5 771c08f04fe2dbb8662bfa52588d4b0a
BLAKE2b-256 f38370828960aa814f179b551825d52dc0d65be238114cee158d1bc1bd388d7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6867654b3ce18aa623da05c6a1bd78c520ee7e45918706bb82868d27119e002c
MD5 2b5c1d8209f8fe623c998d197de9483b
BLAKE2b-256 6a3a423f8f2216d6812d9912ca563ced434701f9dbaeb0e65f4bfc8ba2aafab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c3f0a35ffd11fc449d2e5e1018a3553df32a688895839a59f8f93673b034dd66
MD5 17b5b02f41060d0cf95914742217d3cc
BLAKE2b-256 8aed2cefbbf225d0612c43f5e4a5d6f2f702706781d20ff1ea30a5d79c1c64f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b88ff4828fec4ee1b12d9d866a09e4533f675b23faa2837973926a804e2652f9
MD5 5d354c87515255874ea41e1d33cf9ddb
BLAKE2b-256 be375d68042ddbc03f6a940e31a335235772e136ca55d2b03badf2578fb3c2a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9b3bed39f1b913e8f3f6c8516051483590f24a331765675cd460866002b4b00a
MD5 3d86d2225990b3a1702bf719f7759cff
BLAKE2b-256 9044bfd95a7e39974870f54d80d5f22cf8e383e70fa17e0ed7207b0fc89eaddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.15-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ebcfd875e3c82ce412fc5d1260b1fff100ecb63e500a1a967a8f5457c4c5fab5
MD5 887a8bc4468fb6b4e92558e7bd91346f
BLAKE2b-256 f81703475bda8ff4e290d5e8aa83988add865cad92786d8ebad2c7c9c554c506

See more details on using hashes here.

Provenance

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