Skip to main content

GLLM Retrieval

Description

A library containing retrieval 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-retrieval

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-retrieval

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_retrieval_binary-0.5.28.post1-cp312-cp312-win_amd64.whl (893.1 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_retrieval_binary-0.5.28.post1-cp312-cp312-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_retrieval_binary-0.5.28.post1-cp312-cp312-macosx_13_0_arm64.whl (934.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_retrieval_binary-0.5.28.post1-cp311-cp311-win_amd64.whl (931.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.5.28.post1-cp311-cp311-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_retrieval_binary-0.5.28.post1-cp311-cp311-macosx_13_0_arm64.whl (931.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_retrieval_binary-0.5.28.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 97e40d04114fc26287d707faf6cff92252766eaa49ec4cef7a8da71f192ad922
MD5 f294d6d366368e52a23df5eaf13ace7a
BLAKE2b-256 4e03797388fef5bf723760c38634be20a1d40096313d5272155ffa15c08f3a1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.5.28.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_retrieval_binary-0.5.28.post1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2f61e23fdd31d658f8234be90ed678165e24eec600c38968a5930f977ddc4870
MD5 e983b69cef48724e9f99d9a50335c1b9
BLAKE2b-256 a93bf0fb79c09e7c95af90e45df06735ff8b17fee2cc98a5bdb3ae5ec16df6d2

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.5.28.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bc5d7a0e5e7647ed5c4d034fd74cd1c9e60694e1e2324c5f2bfe1ed8067b9658
MD5 adf9df22b9dadb3cfb089bbea0e3366d
BLAKE2b-256 f068515fe417dc2e63edea9c8b70aaf814d100a19b00924b4b177e14d57974d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.5.28.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_retrieval_binary-0.5.28.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1ed9a6eb20e1fb1bc24decc41e266c21f31c6a754916728971c831d2ddcc07bd
MD5 ed24dfd5a3919f376cbd89c252a7ec58
BLAKE2b-256 47d874c800cb2a3e920c57910c3968e5394ccfaa26ef09ed37f1de62951178ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.5.28.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_retrieval_binary-0.5.28.post1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ebfe33518040beaaa5e107750a27c3c495be87ba77c596e40f5b8d7944324c2a
MD5 1e9387dd52005ed2c109e49149e4ebed
BLAKE2b-256 5b3c0751ab69809ed261f76f3467d9700ba2364adbc51336a88d95c722d63700

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.5.28.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.5.28.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d310f57b3cc4d451c509796914bd03ef4433dc71853955e77b2e3756d9651dae
MD5 988c2e30f93a6bd4d21a019fbd3d8477
BLAKE2b-256 297e37268032728a701a9e64f4e20bfa3f7f9480c3d924c2b92697bdca35dc02

See more details on using hashes here.

Provenance

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