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.61-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.61-cp312-cp312-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.61-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.61-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.61-cp311-cp311-manylinux_2_31_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.61-cp311-cp311-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ef1b9fc621881b12608d2b0ff0f9bf9a1ef04247bc44993be2b5b3c95cf16490
MD5 bcc2b50c8e0fce25fb6796975f416d0c
BLAKE2b-256 cb3a85dd28e298cf9b8d748214c868adddb3fd7979d41b8e3948bc5bbad7b88b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 82a6a397a16c2e3407484511e63d5451ee06b181bbc6dfb5addaa245448a4c44
MD5 4425b41baacc5901d321e7c06f7cc484
BLAKE2b-256 ac1c06c4eef67076cc384420f67bd41011099d9ae00797dc0add46eef80a7b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7cf7fa74551d31354098d2fe08ac3430fffa4572b0a74cbbf55a029f74aa4ed2
MD5 5e65fb82a34c9c3d4391c3202f0caac6
BLAKE2b-256 83fd205cf92b74eadc5fe81775c090afd8ef4eed53cdc8638a4d9051bc63cd0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 afc8cd855e725a22fdd8e6b587841055b43fc6763a5dc21c6af3a5565788c7f8
MD5 0f1ad6889ad3c7ec7d1908b51d327638
BLAKE2b-256 f48b7985b2dac5225f78c05f4d2dfda7bc5f5f1a1b2ed162739c4a159efa663b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 414eac2fe5d155afac8b57a013b30067f248765e4b2450d12f4da9bf951bbc25
MD5 d74d50a0c32c8844daa3d54570931f75
BLAKE2b-256 eb55857e1aaa1fbc2856982f315e89e5120ab1dc895fe6176cb7cbcd96cd5e43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.61-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3c699f167e0ecb6cb3a3662afdaadb18ff636906ca3e795144df4dbdafbc1d42
MD5 137a19fcc010149f66c5b25d0ac3a43f
BLAKE2b-256 c8088d7c1f5d86200bf940f9c310145563bad411842ad8a6d6c13765cb962889

See more details on using hashes here.

Provenance

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