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

Uploaded CPython 3.13Windows x86-64

gllm_retrieval_binary-0.6.9-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_retrieval_binary-0.6.9-cp313-cp313-macosx_13_0_arm64.whl (999.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_retrieval_binary-0.6.9-cp312-cp312-win_amd64.whl (945.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_retrieval_binary-0.6.9-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_retrieval_binary-0.6.9-cp312-cp312-macosx_13_0_arm64.whl (994.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_retrieval_binary-0.6.9-cp311-cp311-win_amd64.whl (986.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.6.9-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.9-cp311-cp311-macosx_13_0_arm64.whl (994.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_retrieval_binary-0.6.9-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9968dcb8e19a9edb229638df4f86b61e51eb77014fb56961070fc90547736c86
MD5 74940a60d7dfe5cd57cbf8bf2a833e29
BLAKE2b-256 c5dd35cae7258acc0bd6b17c2f1b7d7aeb638039c9ed001d49698bb4193effd1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1d489e324d8ca7d9806b2770204c97a770e3825a53f47fd1895ba786e05d4eaa
MD5 b838b4128ebb8570ed1dbf4660daab22
BLAKE2b-256 74f25a945ec63f8b11002b6fd3da239f726c09a138a12bdc431972a1b2988530

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 21c92b3911ccc634c559e44ae63687d8e9776b8468110f8924b385cdeddc997a
MD5 5bc458415ef4c415047c2329bdff50a5
BLAKE2b-256 5f20527ed759132231369a90dd787e556d2dabebb59f9ca86693944e22fed994

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9684e4c4bc41e349023ed7cc47a28665b56a93168e944e41f0c706e779851cc7
MD5 553259ba5a0f793e371e5bf6eff21f8f
BLAKE2b-256 3b95ea500bb5efd0119e37eabe1f593c1efd36385daa96aef0f4b73e568afef1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2b4cd209242392fadbfd1adb13592ea5b56efb0f8fe816122ce1aaf34373b4bd
MD5 64ca50d27fc38bde3fd7fa521a37d6d7
BLAKE2b-256 d915e87022fb33dec078cf39ab50b3cef01e62988fcf20d5460a047d75cb2c49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b3a464a04537b05e467dcb4dae8391757239b4f63da3a7a089ad2d15e981350a
MD5 7f08c55448a92a6eb3359204d9482767
BLAKE2b-256 9f46d51b1f38b81c35c9a80f7520acee0880f8831d8ab0f4a67e77deffdcd895

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8b6c3dbb503b1d892fb824e46ab96b5d5a7697827108554ff85ad66290a5baa2
MD5 fa3fc2e36f8982c82220c66a1d766574
BLAKE2b-256 b82d279350a5a1af3b25b4310bb81da827b0063dc69b390acd917ae37e83bad1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3e8aebdc086b16fd14538d5d2392a778cd56b05859f53c6ff584a25f2265fe9b
MD5 8328d8838428e084d808afa4f392eccf
BLAKE2b-256 7da1e189e9140e790fcefb71e786853b82a4df541a8bbcb902464bca84dac154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.9-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 787ba73050959817fae2e3820ada92d5c8aee868120444978d26e5b557649e89
MD5 326baa58f5f678e2e37171d92703eaea
BLAKE2b-256 46332201a92ccbb6c41b929ce1160c5288d777e70a39c3c325d3ec9c3d7e2ad5

See more details on using hashes here.

Provenance

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