Skip to main content

A library containing core components for Gen AI applications.

Project description

GLLM Core

Description

A core library providing foundational components and utilities for Generative AI applications.

Installation

Prerequisites

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-core-binary

Using Poetry

poetry add gllm-core-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-core"

Managing Dependencies

  1. Go to root folder of gllm-core module, e.g. cd libs/gllm-core.
  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-core 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

  1. Activate pre-commit hooks using pre-commit install
  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-core requirements for the first time.
  5. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  6. 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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

gllm_core_binary-0.0.dev6-cp311-cp311-macosx_14_0_arm64.whl (322.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file gllm_core_binary-0.0.dev6-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.0.dev6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 73bb55dcaf190f1456f32f3f82baf2e6a09ef3dbe8c97174eea89647ea745e32
MD5 1dd39ff4e06fa3acff3da4978ad17f3a
BLAKE2b-256 b784bbe74c9d65ee6dd596fac86d71b944cb2f54e22d6ca5e8c5f4677e76e55b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.0.dev6-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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