Skip to main content

GLLM RAG

Description

A library containing Retrieval-Augmented Generation (RAG) pipeline builders and presets for Gen AI applications.

Installation

Prerequisites

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry 2.1.4+ - Install here
  4. Git (if using Git) - Install here
  5. For artifact registry installation:
  6. For git installation, access to the GDP Labs SDK github repository

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install keyring keyrings.gl-artifactregistry-auth
pip install gllm-rag-binary --index-url https://glsdk.gdplabs.id/gen-ai/simple

Using Poetry

poetry source add --priority=explicit gen-ai https://glsdk.gdplabs.id/gen-ai/simple
poetry config http-basic.gen-ai oauth2accesstoken "$(gcloud auth print-access-token)"
poetry add --source gen-ai gllm-rag-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-rag

Local Development Setup

Quick Setup (Recommended)

For local development with editable gllm packages, use the provided Makefile:

# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
make setup

The following are the available Makefile targets:

  1. make setup - Complete development setup (recommended for new developers)
  2. make install-poetry - Install or upgrade Poetry to the latest version
  3. make auth - Configure authentication for internal repositories
  4. make install - Install all dependencies
  5. make install-pre-commit - Set up pre-commit hooks
  6. make update - Update dependencies

Manual Development Setup (Legacy)

If you prefer to manage dependencies manually:

  1. Go to root folder of gllm-rag module, e.g. cd libs/gllm-rag.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-rag requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

Getting Started with Development

  1. Clone the repository and navigate to the gllm-rag directory
  2. Run make setup to set up your development environment
  3. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  4. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

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_rag_binary-0.5.1-cp313-cp313-win_amd64.whl (324.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_rag_binary-0.5.1-cp313-cp313-manylinux_2_31_x86_64.whl (561.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_rag_binary-0.5.1-cp313-cp313-macosx_13_0_arm64.whl (356.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_rag_binary-0.5.1-cp312-cp312-win_amd64.whl (327.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_rag_binary-0.5.1-cp312-cp312-manylinux_2_31_x86_64.whl (562.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_rag_binary-0.5.1-cp312-cp312-macosx_13_0_arm64.whl (354.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_rag_binary-0.5.1-cp311-cp311-win_amd64.whl (333.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_rag_binary-0.5.1-cp311-cp311-manylinux_2_31_x86_64.whl (514.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_rag_binary-0.5.1-cp311-cp311-macosx_13_0_arm64.whl (350.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_rag_binary-0.5.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6efe860e1e909fc8c5d95234c116a9738690959263153e4a56b10137690a3bc3
MD5 5caf7700451a1f3e66ceda5f09d1b559
BLAKE2b-256 486e5681364f1af48a5300e2efbb31d715c0d1dc29953b1d0bddac697ebe62b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-cp313-cp313-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_rag_binary-0.5.1-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9dbec7197478829f393ca69154fd56450bfa030094c9c811e3068c151f7d2cf1
MD5 6f118d279923549001b70833bc7a5b01
BLAKE2b-256 7cb9bece1107c945d4dbb1c7a499c0d4c140458ecb9cbaa2379a8c787be63e54

See more details on using hashes here.

File details

Details for the file gllm_rag_binary-0.5.1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b8c7ca3d6f6d38c2f2558afb8c5fd30d3b4a455565ec7a551a03fdbebe05b53b
MD5 261f0fe0736e1aa54b6a4e41d12f76fa
BLAKE2b-256 b1fe6ef679faf6c481df3d608c52d795541838f303a0c9a4a9f40178e570c01a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-cp313-cp313-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_rag_binary-0.5.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bda8d26e4b6e1c42a66dbbeedff692feee63028cf6955e8936c046bc4d907bd8
MD5 0f79c1ebbbf13da6a1571b409a977a1f
BLAKE2b-256 d108f8dc2fea602a38edfdcc86ab24402ff04a67d6d02385da1e754f3446b545

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-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_rag_binary-0.5.1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9e45a088088154dc87c765f60a4584b77b105a8a081885c88c8c638ab1bd298a
MD5 99d61e7802c3504df482cdd4e4237acc
BLAKE2b-256 825459fc304c4a51bdb2de3013221507788f25539f5645fe41b364e852f66de7

See more details on using hashes here.

File details

Details for the file gllm_rag_binary-0.5.1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 00c0158a2b26094e87d3841dc3a0578da1816802cc3b4ba8271eb91c4c56660e
MD5 16fc0ed45742fa6c35a3aafb36ed1cb7
BLAKE2b-256 1c3196c082b2385f687d4972f6bbd9eb776fb712a9ec51b68bd0cc6239ccaa28

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-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_rag_binary-0.5.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 009568f60d7731fb2bee602ca1de69d360add865aefc9f10df09db12495c0273
MD5 6c178e80925567a2d254e70ab77590a5
BLAKE2b-256 20131dfdef42a1d6542658da6fc9d2b06b55c2095acc1d401aafab05b12ce00a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-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_rag_binary-0.5.1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f54cf6ecfcb7c343e804f6d069e7331a12dc0ae8101d3f46d8add7cfb202cede
MD5 740dcf372b01e41a0924e399e3039677
BLAKE2b-256 6edf0907675b7d2d4e5e602a2a6fadb2ad879458333825848407275a36d3e64d

See more details on using hashes here.

File details

Details for the file gllm_rag_binary-0.5.1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_rag_binary-0.5.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fc1d3eef45bac37c44e3ae98d0fd11642238558f51df948c15aa053d51a7084d
MD5 79f6ca0141519859791e362446c134ce
BLAKE2b-256 5b802861f10681a4a0f65c4c7f67a1feaf45bb20736bd426f54d0ca882886668

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_rag_binary-0.5.1-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