Skip to main content

A library containing retrieval related components in Gen AI applications.

Project description

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.

Project details


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.5b1-cp312-cp312-win_amd64.whl (895.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_retrieval_binary-0.6.5b1-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.5b1-cp312-cp312-macosx_13_0_arm64.whl (937.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_retrieval_binary-0.6.5b1-cp311-cp311-win_amd64.whl (932.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.6.5b1-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.5b1-cp311-cp311-macosx_13_0_arm64.whl (935.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_retrieval_binary-0.6.5b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 63f3e676a23d7dc8b49e5a8bbfc947ea60b34de2daecd533183d73459cd5de4f
MD5 987127f8f76ac00676697a0fe1d2bcb2
BLAKE2b-256 7068f68ec51bad68f621e75f4dea5157faf57416c9085e13f32697b081b21e41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3eadc3c77f649678bd35a85a6c35e89f0f33eb68b8bdf2e8ef1e58ff385a003b
MD5 3bf245c0e303799388dcba3173c0ab77
BLAKE2b-256 9adf7eb1597cbaedc391278f7bbc8db5ecd73d9b57dd10567f2722d858c8d229

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.6.5b1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e135f0c24896cf49ce9d902fa2b0cfed2c60e8e2f7b6aed612450850075093f
MD5 722b5eb2c2ef83f3a9a60983e50810ed
BLAKE2b-256 ddd0ea47b44e5a060764bd29f9b8cfe508fa37c0cf2b1c4833d6b69c80413ab6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a4d67377598c7f8adf132efe0fae6d725026e37ad727f9a2111350218074a036
MD5 bfc48834e406a8609ff7a5a8bbeb3a10
BLAKE2b-256 18fde4ab61b40dcdee0efd27f4565e44d6ab59b134699bb02560860db07b5d8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bb55a60047be80ebce5381b933a15f240efe461636dadbff28cc54fafc7dd547
MD5 9d54f6875e8f9bf542446f8bbdc58fca
BLAKE2b-256 9544e856796e7678d700884e91492f620fc1cf18d1f3d356b581af085181ea54

See more details on using hashes here.

File details

Details for the file gllm_retrieval_binary-0.6.5b1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.5b1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0500257eaaadd171a9e792532d1f024e2c43986f1a346350831dfd1579c090cd
MD5 9f009bf212db412c4f42b6779249c117
BLAKE2b-256 cf78927561688b3b2b758512a799498e928b882f2c935f9b10995ac725059787

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_retrieval_binary-0.6.5b1-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 Pingdom Monitoring Sentry Error logging StatusPage Status page