Skip to main content

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.

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.18-cp313-cp313-win_amd64.whl (667.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_generation_binary-0.6.18-cp313-cp313-manylinux_2_31_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.18-cp313-cp313-macosx_13_0_arm64.whl (717.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_generation_binary-0.6.18-cp312-cp312-win_amd64.whl (670.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_generation_binary-0.6.18-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.18-cp312-cp312-macosx_13_0_arm64.whl (715.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_generation_binary-0.6.18-cp311-cp311-win_amd64.whl (700.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_generation_binary-0.6.18-cp311-cp311-manylinux_2_31_x86_64.whl (925.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_generation_binary-0.6.18-cp311-cp311-macosx_13_0_arm64.whl (713.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_generation_binary-0.6.18-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8832c5fc03a49646f35ddde0073e5002ba48b5a987c9ec2d7583bb54669c7091
MD5 988b2e7fb632dcdea98ac5575d856f35
BLAKE2b-256 1ba7d5aecb970678ae71bac17bf55e22f82702dd3593db1aacc0e87ed02bc356

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.18-cp313-cp313-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.18-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fd225718a226de686a383107d57599d0e7912e24331fa7cc0dba72015c23c2f0
MD5 ec5a5d77f09e6455e12f08525f835fa1
BLAKE2b-256 d6d04a07dab17efa55029759dda501a75bf3910a770fcd5f94d0796f1fe84c76

See more details on using hashes here.

File details

Details for the file gllm_generation_binary-0.6.18-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c2cd8c5ad67daa580038bdf6c0e05b5e3be718cc72814774ce5c8ad5aaac7a2d
MD5 ce900e36ca57460af2c80f1a9a738486
BLAKE2b-256 1d4742d85a54c7262701e545d864e09a16e9d0ad4f267144dd379ce97f9942dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.18-cp313-cp313-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.18-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ee71868c24ccce486dc6ded5275992ca327b7de55d75a92661152d2e9f5485e5
MD5 323d2988bc8e44aa91004be4ec4b3687
BLAKE2b-256 763bfbba07106a90e36e4084f41cc1f9394aa4c4bae84b1f84940fd594c4924c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9b663b4c33abaec8d55ae13f3ac65cf4936443ff5326d71a3f50ff6891930f74
MD5 d35715cde9d02bf1ddeaf9e930b65cdb
BLAKE2b-256 c8e2435d365294069e06742b323c5f3d5f275757392812d5051adcc74fc44c09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 83786ccec87573456ed1293d5ee5fca4ca0496f3dde33af22fd3626abfaf7539
MD5 d8570373d502122d7cf34258308edfd7
BLAKE2b-256 27068ff1c4c8582703572c02f6d888c61167aa2980896058249df8408a1ed4ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 403fcdd3be3547f1a2988482f79e46cf41fd5d059006fe9bf9d65993f8372081
MD5 bd619ecd7f5cb15be2478f57c1d25d87
BLAKE2b-256 b2afe0ea15d0dc57790ca96e5e55d9088efbdd41d283d6a73386f1da54beba18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 97bd070764ee79f557d08ebd9e1604b8723089839ddcd6401b94a2fca94cb5a3
MD5 5b0fe1ea6a78e3dfdd4eb1a9e3dfd30f
BLAKE2b-256 6254ef84c8017dc3f3f32bdb1feb37e12ee7f8606826a7d7a95448f37349fdd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_generation_binary-0.6.18-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0e1db45ec46eeb9758129b9e2c674015c551ce854864f1770d54bbf324cada7c
MD5 1acc074add8f0303a21c6df183ffba67
BLAKE2b-256 edf7e76a3deab57065e879df1ba1cf4632f8c6c8125b944bbcb8bd04e558a597

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_generation_binary-0.6.18-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 Sentry Error logging StatusPage Status page