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

Uploaded CPython 3.12Windows x86-64

gllm_retrieval_binary-0.6.7-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.6.7-cp312-cp312-macosx_13_0_arm64.whl (969.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_retrieval_binary-0.6.7-cp311-cp311-win_amd64.whl (964.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.6.7-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.6.7-cp311-cp311-macosx_13_0_arm64.whl (969.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_retrieval_binary-0.6.7-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 622f7eede51b4096c942910516c9dae216287a286d817a569d25e1a342b448d4
MD5 20556340177e7e29f334109a7dc8b4c1
BLAKE2b-256 730541be2843083fa390d81ce2f6e798de14b2c95f3f09226534463f65bb4175

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a36385c227322a03c3591259074a2311c4708d3ddd77b526d799db247af642b7
MD5 0e2816a4d8026c12eb03b1a68ac2ff1c
BLAKE2b-256 e5239cf3d8b0bf8d0289b961368f1a38e2aed3f207a620b655b41d45d4c4ab62

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.6.7-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b877a0d0add871ce373dc3a642bf2ef56a7e4db9b8484672d82ec87b85393250
MD5 dc0ff6b69da224f1f1f6102df0dee586
BLAKE2b-256 7f4d5415732a55f0c6ca26f56d5edeb90ff340046167640e967152c3d17a9ec6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 10dae90317ac4eceddb52afdd54f6326817c5ef8586f80cf41941554c1700c03
MD5 9df84391062d6d5abf4f11bd55479fcb
BLAKE2b-256 1a98bf37ac98b440df9ade205f22cb2f230f0543a7d4647e7b61ad9ed47a1b32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 783014e799f37f8b0a2e8f428858876c97f7226d540b2bd032ee4214a37ccce1
MD5 167f5b954cb6bb13e4b0d03e64cdb721
BLAKE2b-256 e4d07860d0c393d825a50a5b396816d188e334d537389aa8ee4ee25e24f3d458

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.6.7-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 76ffa335d6b61e6d5e63e283f55b143fa852f594e843aabca860132e7fd87b4c
MD5 4c4bbf026ee4461ab097d9fb55de0a4c
BLAKE2b-256 c22cee867a7539ff5f5476cdc7815b1e372e37be05f051cf3458f55d2f9e098e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.6.7-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