Skip to main content

A library containing components related to Gen AI applications pipeline orchestration.

Project description

GLLM Pipeline

Description

A library containing components related to Gen AI applications pipeline orchestration.

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. gcloud CLI (for authentication) - Install here
  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 gllm-pipeline-binary

Using Poetry

poetry add gllm-pipeline-binary

2. Development Installation (Git)

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

poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-pipeline"

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-pipeline module, e.g. cd libs/gllm-pipeline.
  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-pipeline 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-pipeline 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/

Project details


Release history Release notifications | RSS feed

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_pipeline_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.whl (921.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_pipeline_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_pipeline_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.whl (911.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_pipeline_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_pipeline_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2efdde5ce1f947c46cd907458b2f7df4d8e26273588a2a98d8460b23897a713b
MD5 1f7c57341a0049f8350da0593fceba89
BLAKE2b-256 368accc3072942329ea36d1ef7a9626851dad8297197d75d6ab1fde702c237e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_pipeline_binary-0.4.22-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_pipeline_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_pipeline_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2f4754e7b7166a1658ca9412030cf5d25257d0df40c2d11b1400e2c7131de41b
MD5 03dce54fd27f36c12337098879be2c6c
BLAKE2b-256 40f1a6a76a8785ae403837b21fef6fac7bf88f0b3b54d2c47db02ec7b610c69f

See more details on using hashes here.

File details

Details for the file gllm_pipeline_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_pipeline_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2cdefabf90c8d95b20f3861e2b4f686be9ab59f625d7e0a540f88a53f45825b7
MD5 b0abd8279c2128413dea39cc75e1eb60
BLAKE2b-256 2bc5f936f560de30832253ee49be5ca075d98eb97a214ae06448a7ab7eaaaab8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_pipeline_binary-0.4.22-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