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.13b1-cp312-cp312-win_amd64.whl (626.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.13b1-cp312-cp312-manylinux_2_31_x86_64.whl (956.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.13b1-cp311-cp311-win_amd64.whl (655.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.13b1-cp311-cp311-manylinux_2_31_x86_64.whl (872.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.13b1-cp311-cp311-macosx_13_0_arm64.whl (669.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_generation_binary-0.6.13b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b2d1a5cd8761b35166a1e23312b4723cf84e1521db1a592697867fe069452df5
MD5 d0786b1e04eb802c296762f21cb3fb80
BLAKE2b-256 f4d90f7b9fc51e0808fef0cc7f6a88ab66bdd806e4e57f5adcbe5a4addd17049

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 98bf7609a2fb1a413050659bf059365f9897491893264fc79079dcf5c5c82639
MD5 2a3d49a0a680e69f762fb41ac5bd2154
BLAKE2b-256 c9a1fed9003a475d8eb86f40367298d1cc3ca89d959826117e67342ece645af1

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.13b1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53f9d2aa9df0a768fe80404b25d17b7031869d52b0e40fc0611b14a13c5eb74e
MD5 bf89f6e02b56acbf78b218bd1848de26
BLAKE2b-256 6ec5a012da1f644abc286935afa596d38d1e5916a1165f52f976a4ece99ff810

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7e9b7f1356b946411ee0ce8c13298b063527a46093a73a20c190e89b11a7dccd
MD5 724b8f852dccdf34ac39b179b995ad49
BLAKE2b-256 1b4bbd619253bca86267cb7a80c79696d3f71b0a0b77ca0b2fac96dfd84778c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 66f38553f037ac553717ec77b318065087a023608c401cf7d5a58d74b34a8620
MD5 2574f350319c424246fbd90af2caae69
BLAKE2b-256 85951f7e4519768e2e3e5415645ac2bdd37cbebb649ec41d92a9aa338a197cda

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.13b1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.13b1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7e04e0a060b62571444ebf602a8f395cf9119865c25ca0203de591e9e235947c
MD5 5c1000657d5c6a9137a68750363e0d1d
BLAKE2b-256 de90cefccaf671463fd7329bd570e2e6589c2d64889e55d9b742bc32dd44668b

See more details on using hashes here.

Provenance

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