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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.71-cp312-cp312-manylinux_2_31_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.71-cp312-cp312-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.71-cp311-cp311-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.71-cp311-cp311-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.71-cp311-cp311-macosx_13_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 02c25745bc28385228399f45838166ab0d8e31feb16fa72c1534ba6aa99aeb5f
MD5 eb38780c9dc6f5a27fe5887512a95845
BLAKE2b-256 0570835baf689058b4598e0cc04e1f10af1050ecef5c565a79122661e87a6cd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2631247d64a94f911328279162c6dbc70b481968c4041f204bd16d4899ffed90
MD5 f979cdd36bfcc66ca112b7b3c7cc47bc
BLAKE2b-256 a8bbbeb54a6dbf856a1aa9a27e8988a90f26c9bea86d10d0aff38370ac5b84ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6e49eb1b4c306eca27544514cdf1d2ff8e440db8eb9f973c9c90bd8a587b68c0
MD5 fb645e5b7a395c3a17b3c9e9110e5304
BLAKE2b-256 22bc40ae421505d7f08e5113085def126586e1de8e26fda725b6c8bf6c0d7066

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 88946eb6427da4b4d07d536dc60904e6b51b443211bb5993e3a8378845fff2f8
MD5 1d68cc264df4d5c597b79bda39d63571
BLAKE2b-256 88792c7e5599ad99dbe6692e41985d5f688b8fc18e92427bfef117c982c73689

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e8fa9f0498941ce8bc7634a8e6be7bedab25b711375dec8b663422c00e617746
MD5 28b50b6bc3773311ec45f0901fde24cd
BLAKE2b-256 f9b25e5a917cafb0e71588be558ffbee515c45c8d6541e4dda9e6bc9f757c376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.71-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5f426f3316c74b8d08556ef8f479a19f294482d6337c3fcc51fdc471b73514e1
MD5 d81bceac6be4c5e604a2c18a85f8a6b4
BLAKE2b-256 1c73ea0157b8ada6ce79462454291ebf2b843e1fcf9ae116b5c3104758dd6cd5

See more details on using hashes here.

Provenance

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