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

Uploaded CPython 3.12Windows x86-64

gllm_retrieval_binary-0.6.6-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.6-cp312-cp312-macosx_13_0_arm64.whl (970.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_retrieval_binary-0.6.6-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.6-cp311-cp311-macosx_13_0_arm64.whl (968.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 26e61f3299d8b512b13303069335419e52f6e30fa492ba0a3859a95b988b5b64
MD5 abc5f8c086c1a70c046cac8c211173e0
BLAKE2b-256 28eec86e4de695cccfd7e669139ebb0902cd0109b5983ef4c92270fd599990ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 605b6df33d3eaec98fccfa52a937a9de3a903141023201c2f8296da9a96d79a2
MD5 f0df9edea60ae2ba19f24e3ebc242bbf
BLAKE2b-256 61c3d88368def813c1625aada4cad475b154f76503038f26947e064100cb6076

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1dd6c602448a2ac36fc8ea9c5ff54dd6e4fae535b63023613f46e318119ed9d8
MD5 5342dd863d3bce3985c026c8921b030b
BLAKE2b-256 938ad10f6c0412f3c63d119538d90d72c27ae322a4e30788a92095f4f36b2457

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 46bf3ab6b32bfed22ca3c3d69cb611e37be4f1412543a6151081ad635407701a
MD5 dd1f95924f9f742b2f2f37d59d1ae4a2
BLAKE2b-256 6f5c8aabff5d5393563e9399b718e1ebc63a9929d73672c554d70dfb30153a2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2be3d263442a1fa9a1cb862fb59064e8d5972b1f4a2de0a6d5f358d40cb013d7
MD5 b0b8ee791bda368e0ac9999d5f5ae00f
BLAKE2b-256 ec09b461eafa4a9a254a0cef41052786c0dad0450934c2601f85907da6d648a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_retrieval_binary-0.6.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 609b75e0cd65b843c49b5437312b233ecaca6d02717bb84ddcd3f37cb6173bea
MD5 59c65b2720fc4e1024ad6eb9a333f426
BLAKE2b-256 4553f471c3f9d40594aa669ec4fd8bdaeb0ad866cc377eed2a8b2f3cb62eb794

See more details on using hashes here.

Provenance

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