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

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.5.35.post1-cp312-cp312-manylinux_2_31_x86_64.whl (895.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.5.35.post1-cp312-cp312-macosx_13_0_arm64.whl (619.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.5.35.post1-cp311-cp311-win_amd64.whl (604.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.5.35.post1-cp311-cp311-manylinux_2_31_x86_64.whl (819.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.5.35.post1-cp311-cp311-macosx_13_0_arm64.whl (616.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1bbaf3857d4867495422d5b69bba27deba2a272b098b9c9e7213d147dbf3502d
MD5 a5df5e05c544bc63c5a3f3ae4d9eaa8d
BLAKE2b-256 f37f13622e63f4cbc8a5fc6ec548c972237130ea96f0db22775963fc6d30847f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 71688120390572dbfead7f774f82376f0cb0e102cbba581b6e3e32efd2885f53
MD5 0d0108c23a1b8a5731f9532d590a9bbc
BLAKE2b-256 cf9bfb1e54e2a110b90f8d1408b28d78be9fba635b0f6ef7983cc3bd8dc71003

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a04d5e6d5f6e49d3120fa964641ea6ed1ad2b921965890a620ac9aafb590f8d3
MD5 74b3f94be842392b53d2606e7e7e9cb5
BLAKE2b-256 2660e2d197ba8cfaf1cc0a60f46bff1b11b3b3f396e5fd73c0d4d28391e583d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4688555fc0cd36571db56f5d01d08216a05519cb1088142deaa62b1d25b44dcd
MD5 b7932597f909917ac55d5f15336483bd
BLAKE2b-256 a285d7b0611323a27c90c9c02eef42f37805b0ad35294c5ea67b7742106da14a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e3cfde6a018ca0d7afe6e0b9686c146b2c0ed317bb27f1a0add5091dc8783596
MD5 16f6c20afe497922db50a5f1bfa81bd2
BLAKE2b-256 cc9c919d274a605d98cb4b60e086e86428da90d7035b3275cbeaa1d3892ad343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.5.35.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9f3df6b50f35b8ce4bb64db289a3b5aba2c3ca35932bec95c42419821ea4add2
MD5 6b4580b1ec020861939daa04fea9a8ee
BLAKE2b-256 73610e0082a10b9bd56e8683b6dfd30f2f5b0ce932663ea13f54d43b326e3b83

See more details on using hashes here.

Provenance

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