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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.64-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.64-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.64-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.64-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.64-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7b7e306eb6a2f05d61e3a4ae49877dec4fbdb6415cccc54c9e9e37140dd0c2fb
MD5 179320a0001cb7c4093557fec6ebf744
BLAKE2b-256 0d3cc0034725578a09a341a388ca47b09c5113b5ad9ad9ab0fe86abe4568151e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.64-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5278db91f05d167203df9787799b9f0ae4eb1f8c17bcb01c6f7645d7c58366be
MD5 35f58f5bfea7638a411b8f4cf960b921
BLAKE2b-256 5267cfa23bf16a77cec1007e7ba16f5a105e34a4f61476bd0a25e961d2a96db1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.64-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a4544c1866d7b9bba0203ef7cd2682e8397b28b9cbadea89bfae45bce7d3a70d
MD5 aeecea58a4e68d61918b2d4bd37d87fd
BLAKE2b-256 fb6427cff661bdbd305900faa53414f33d3ce4ec7ea833d20142212c49fe9686

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.64-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 116c3b5a800360300940b79cebad9d0fc9acabcbfb36834fdf63d9f74788e817
MD5 5a4cb64635a59ee85c2a512dec6e56ac
BLAKE2b-256 86855b172b3cfe7222c8b7a36adc942d0ac025ccf91024ad05141b1eb5a92162

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_datastore_binary-0.5.64-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.64-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.64-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 22d1352aa14943b48d16e93456858cc0290dbe77c27ae4506c815dd929abfed7
MD5 c659d73451baeeed5abba9b863c6962e
BLAKE2b-256 14727d5ec4192ed408e7dbcad866718f99b9aab5797a30ae399bd8259630fd7c

See more details on using hashes here.

Provenance

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