Skip to main content

A library containing data store components for Gen AI applications.

Project description

GLLM Datastore

Description

A library for managing data storage and retrieval operations in Generative 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-datastore

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-datastore

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_datastore_binary-0.5.94-cp312-cp312-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.94-cp312-cp312-manylinux_2_31_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.94-cp312-cp312-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.94-cp311-cp311-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.94-cp311-cp311-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.94-cp311-cp311-macosx_13_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_datastore_binary-0.5.94-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 65855ee180b16279e7cc378fc2ba237f58781b747b7e43760386a54d075d3230
MD5 3186b04863bd3cfe57b39565b8aaca42
BLAKE2b-256 be160ed0cd18032b8cc032ee82ef53a95d316b1c20a88c81cb35363ad3416930

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.94-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_datastore_binary-0.5.94-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4ddd63d44baf1a798ae6ccba4bc4264e6f7e9281fa69c62b290de68093e46fca
MD5 732c0e8ce4cb188d479dab213e0bcf48
BLAKE2b-256 2b28c8091d0331bf1c95337b5f962a31cb40ef67cdd751544a63ba5986b082c9

See more details on using hashes here.

File details

Details for the file gllm_datastore_binary-0.5.94-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 40673a9181907abe1c13ed3bec1eb2106aa0790bfe44923ca3e091dea12da301
MD5 970e485dfd6d6de101b8304779650d1f
BLAKE2b-256 6d0af5dce3a04a67209038f8836c03059f2c8be0c8f92da56dfd8b59e4e592b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.94-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_datastore_binary-0.5.94-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ff8e9b5ab229bdfefd4e850b9fa85b242d48fa9b0a72ec833ba83252154bb011
MD5 005bc2550594ef683bf58f6b606a8d83
BLAKE2b-256 26f41a167a5871c9dc5cad82fd7ca65297373595588162147d800e90907e005d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.94-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_datastore_binary-0.5.94-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5d019de513bf557805b06832a496843c8d18e8f01b43bd52798d2778f4259068
MD5 f7b0c53306fd3de2e2d502a2a0822e3c
BLAKE2b-256 5d2fbd4bd8917fa5d9a5a3f4b5a1785dcd98ecc4569eaf07b440ff8ffcff28eb

See more details on using hashes here.

File details

Details for the file gllm_datastore_binary-0.5.94-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.94-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ce135e73ec37afd1ad7f5c51f3c94104d9d122f57a11dcef8ef7947f7c4d935f
MD5 6eb3124bc099366e02ac36f50c938cc6
BLAKE2b-256 c96aa1d284b4131a3c3138ac05b52e2aa9fc3d99e42ae524384d0027fd5ee4ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.94-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