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

Uploaded CPython 3.12Windows x86-64

gllm_datastore_binary-0.5.72-cp312-cp312-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.72-cp312-cp312-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_datastore_binary-0.5.72-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_datastore_binary-0.5.72-cp311-cp311-manylinux_2_31_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_datastore_binary-0.5.72-cp311-cp311-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8d015d63383d783e16b7c208c8d99786be4756c8328ef79e42e4ca24de82f3b0
MD5 a61b18b7688e97fde0a7a71c9ca78780
BLAKE2b-256 36b7fda8babe4bc27eb1571d3a21e363475391f96e1955735e5ab1c48f2af923

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cd120013839671f76e2e1b8c3f44505ee8ff0e06fff22e5e7e69642da7ee0b56
MD5 29201d43d3c925dc49c7cf1ac20c2415
BLAKE2b-256 bbd416bc4d094018d3eb0e58770154c719233cb1f6ea78f1908046da78edabbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 02349157a4e5c036ac7b23d54f9052d099a7c219b86fca324a8d17931be80d9a
MD5 40d9ee04ece7f03546024648debe49e8
BLAKE2b-256 7dd318c5a5a6fcc6cbb1858b7dcd7002205d34678b18c5ff10b8d91cb0729f55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d2805a3e98bb0b37ca467456f3c728131f7ca6ceded648551141c5e791a005a7
MD5 a8f0840587270a5ded6f33c51f757f49
BLAKE2b-256 e9abacfe8665bfc171c9ad6303eaf23ed7fbca0428bf5ec46f94c4f6108d08c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f6c48e3236096be521e2c3a13b6c9278868afbbbefcf98dad998e2881517fd15
MD5 3ae8f7d7615d0fad4bd41148ed8ac304
BLAKE2b-256 a40e38a5cdb0ecc858c3599f0f5e6029967cfdaebb6471c550c7ea4b4b51c008

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_datastore_binary-0.5.72-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 31b0f49f4824f3147c05119f2ca5882f4472c25453336aa6ffa9747a128ccd17
MD5 74b20720a400dfa446bd0d1bc93e0fb9
BLAKE2b-256 f7e70b5a2f58fe401ecd8be6ad38fdfdbc4db3d662a688ee8d30f6f26d32a151

See more details on using hashes here.

Provenance

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