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

Uploaded CPython 3.13Windows x86-64

gllm_retrieval_binary-0.6.8-cp313-cp313-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_retrieval_binary-0.6.8-cp313-cp313-macosx_13_0_arm64.whl (974.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_retrieval_binary-0.6.8-cp312-cp312-win_amd64.whl (924.6 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.6.8-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.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c001a50ab6162561be12120b63bf189f46fffff7b0027d884d5706d70d098215
MD5 2d9c70db4719fbf5ff65e68447613ad4
BLAKE2b-256 390741af1845fc5cdba25c0695c21ec26bc689146a4141ad9777c14ea7525e96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a8d079f885223cabf266584cc7da8b16eb68820457d062f165f02be40c4e35cd
MD5 42e9efc9c67ea72148faf6acbe14f41e
BLAKE2b-256 0ad0f0432d13e1cfc87a89b262a40afb7b0137e2ac6beb4979dab62e65fa03be

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.6.8-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bfe9558287ec0dc695f2aaf06deb7251e346cda269158507b5d5292b08b114fb
MD5 e5624cd155a8940bd6b9e69d8e12500d
BLAKE2b-256 9ad400b7241eeefd429cd426a4f5e03a4ad90901368c69235fbc22975d961293

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 16bb1cfabaa3de81007821e04e3c93c8428701f95b1bc6d7acd6e698a3537845
MD5 ce4fdb6f9413657761b3920e4f6d3c3c
BLAKE2b-256 2008f3ed3bfd6b039dbe9fe2a6928c29dd8e0fdfebc0d40e0bfc1ddd8b280991

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e556bbd38e9dd35b22149ef5a5c88de9771207553a6fb6c8451e9ff86ec1151d
MD5 b4e0bbaea8c7aff2157bf3cd59ea00ef
BLAKE2b-256 1b1fe28d338adcd2306812d6d9b9f6c3e84a9afaa6a4c89e0a1003f1d93e50a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fed563e964fa9d0ab3c9e069d907e9ba942f70995588702315593e67fd49500b
MD5 462b04bee31ea7bc8cdad3e7f3172874
BLAKE2b-256 dfe3c83c1a7d87363c760f275357557966ebf95199de155722a0941571c7e17e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c88cf0e2df81e5f87fba7e49a96f059db514b0dad389c630d5df7ca2af366301
MD5 57c352a6e5925147ffe7ad4932acd502
BLAKE2b-256 5468290cc6d3e298347368c8474dfdcdc4e0349db77c93408b92a4fb56d91297

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.6.8-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.8-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.8-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f50982807d5a4b21ce84f8b71ae47bbda9e0bf5602570fdc0b07b1809f68d193
MD5 3b460d018a2d9f4b90ce16789fc2f6aa
BLAKE2b-256 dbaa084c37897105e68e187162a66d029459a083640d0d0f31ec0bcf1e5a3251

See more details on using hashes here.

Provenance

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