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.17.post1-cp312-cp312-win_amd64.whl (670.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.17.post1-cp312-cp312-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.17.post1-cp312-cp312-macosx_13_0_arm64.whl (715.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.17.post1-cp311-cp311-win_amd64.whl (700.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.17.post1-cp311-cp311-manylinux_2_31_x86_64.whl (925.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.17.post1-cp311-cp311-macosx_13_0_arm64.whl (713.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_generation_binary-0.6.17.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4217f9e24cfa4e6228c90b69ea3f607852586ae7c413638574d11487f2e83499
MD5 b2930bd18715903a6085293442ece5a1
BLAKE2b-256 be9df5de544e2b3633dc1907b252965ce828c1134746881e840fb2aedec17ef6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f5e3cc8944fd1b58ec8b75a6dc9e5d8989901a2d4a8b5bcc0345f239e22fe44c
MD5 5539fb2ad897085def51d308171a3159
BLAKE2b-256 54d823124900b9c3409c385b9513db3ea041ddb1870512f5934843eabe600d5a

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.17.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0bcdcf2b4c573b271046d43decebad67ac01070d6fdb40b1af1feac667e4e747
MD5 50a840102dd8fa5d034587f629bba57a
BLAKE2b-256 1a7bb5ca19e47bea868844d9dc7d31805b78ad9821cab3dd21b446e916a2c112

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f9968d71a2deadbe5cc462abac8a9bcc935213a5bac40a57df116cd1c51ce7f5
MD5 cb5b828a4a7515a743ca124bd7260998
BLAKE2b-256 57925c506f5102b901ec2d110b8346b9be275fb4751f0598c464bcf3b8975f0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 25a125849e875b5197b2e4cfef9dd314b2ea6fc08dcd97387fd5207c894cce17
MD5 6c6d24c963222e8a9f37fc6fa83969d6
BLAKE2b-256 fb1c53becbdf588e8a12612b73f94e0c71d3711c660f367558dd74496580bf1e

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.17.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.17.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf54d42058d6dd9a049fd448d011aefc56e232ee972c22ef321025e049018cdd
MD5 f445ffcea7b6f959251eeb7303e90c74
BLAKE2b-256 4d11dde6c950fad37fcba325134a610df62d371e119a1aab0049477bcd810759

See more details on using hashes here.

Provenance

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