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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.63-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.63-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.63-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f735c1d4b3e30b2a738fb06cedd22629965166ba47c0b609f5d8cc4ef40477ec
MD5 96d1b3abbd5d81c3b5467dc00df83ad9
BLAKE2b-256 ae004938435f0cc41be42342098a98f4e6fd638a1f85312f804fe3fc5c7edfb8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ffb423a402f490a000ac7a5ee72af7f6962497db064b142bc9c554ab294bcdb7
MD5 ef563ce3d650b96466804a96249fd990
BLAKE2b-256 af667f4bf558040ca646a978f04b4942de23df48763f9d28e8640f1a8fb08765

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 657a32d26ea7e8b5537cd78acdcd82fa3b1eee31c14edcc1e83eb7700322ae7b
MD5 49f40a3ca4e2e0bcb7089357e6d437ab
BLAKE2b-256 efaef7b4c869a1fce9f3f9b56e1e12aee4e1cdc09e3c90790fd429f2eab2756c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fefcc64702688e718536271fa35958e81ecdaea38bd75d4a56c49be1ece8310d
MD5 5f080df8b19290e28e1d223326280408
BLAKE2b-256 ba079a93c5400864d11dbfb3fb90cf7a67fd415af16d76445b4f5bb69a8a8ab8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b236e377752ad60d9668bdb91a51aefd2e48dee5933ef35630103b0d4ff87084
MD5 abcad9a02c3dd8e02d49ad489d4c4b69
BLAKE2b-256 4f7a894f5e83e6cb12a1bbb965666ac9d6accc7e7e01073490b3309727184b5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.63-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c714429d2d513732a014c5083154d33c04463fa77a4ab16966250e91f2452f31
MD5 e188982882903f90d0cdcdd02fc1c1e3
BLAKE2b-256 8c565473631dd6558267d77dabb6e6c7b3dd73ef4add4dfa3e0dc6bc8841deda

See more details on using hashes here.

Provenance

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