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

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.16-cp312-cp312-manylinux_2_31_x86_64.whl (990.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.16-cp312-cp312-macosx_13_0_arm64.whl (700.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.16-cp311-cp311-win_amd64.whl (681.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.16-cp311-cp311-manylinux_2_31_x86_64.whl (904.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.16-cp311-cp311-macosx_13_0_arm64.whl (696.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 24e7e41c19a9fb9e4367678fe4dc73d919597df4d163d36db128807145c25f26
MD5 dfd65eb214e2c2ea08303d625464b571
BLAKE2b-256 93a0871fc4efce73e164986cb9f299f85a6f13ce54cd2b03764c8888e7f07c38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 03a9d18047c2fd94ee982f72b731b574c0e7577e24f97937411cd4cf62309aa2
MD5 fc75b9c51b9d9136e27fdf3f4bf7a988
BLAKE2b-256 87c6c1b82a32855dd0aebce686bae137c0d451a5172f1579bf5f1758946e1697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 99afa81edfded27c6b43c6a55bcb86ad3899923b501536dae27d69ed6f2f05c7
MD5 dba73c85063ca9ee0f3b464c71971d66
BLAKE2b-256 34109de7f6b44c5a5a705d86982ace615d23b1e3bcb48ae21e460c62e0f89d29

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fbf264702cd67ad4d227735c81945478c01864c32b21f02a633a9ae70eec82b2
MD5 36715d13edf0cb650797a5bf7b079bfd
BLAKE2b-256 116b3a6cf2c3b111505d1510c6be2ee62a2f98d2c1a83c0b6753a6a10db8f162

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2e615ef4a9f71528ea86f5294430b8efe22e1ef3a2c7d532815fbecde59fe8ba
MD5 971f21030e803fb2657216616b11ad6d
BLAKE2b-256 58561462f6e6b0490d60913bbd1daa2525cc9689d4e584ec761858d7644edb19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.16-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 155da913a597c651883b2e1fdfabbf2a4af4a23972559b078b274f3414f7affe
MD5 af3c4354e5ff8bbcb5be5b0d7da9e7b5
BLAKE2b-256 74fd7b6d2dd3f3a7ab6162762a0d34ec6d7350a45c5642b6bbbe4c4bb89220e1

See more details on using hashes here.

Provenance

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