Skip to main content

A library containing multimodal components for Gen AI applications.

Project description

GLLM Multimodal

Description

A library containing multimodal manager modules for handling modality-specific tasks.

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-multimodal-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-multimodal-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-multimodal

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


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_multimodal_binary-0.2.0.post1-cp312-cp312-win_amd64.whl (379.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_multimodal_binary-0.2.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl (561.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_x86_64.whl (394.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_arm64.whl (337.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_multimodal_binary-0.2.0.post1-cp311-cp311-win_amd64.whl (386.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_multimodal_binary-0.2.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl (514.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_x86_64.whl (393.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_arm64.whl (338.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 608eab25b74f4e71f933e7e8c09097e430906403b06e605bc2b51a2be664e095
MD5 57761a4167deb9cf121ef9804793e17e
BLAKE2b-256 73b2226bcc006b344ba5034795de399419b0c9df7cf3fa724dc36c901b63a087

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 94f0f50b99b84e52ff04fb3cbaa40e8557ad7d623bbef0b340841c06324a0f81
MD5 4caee6be51cee2ca46c0a5f6fb3a662d
BLAKE2b-256 4e0ad6ea5838eda52d457f2a4a369d90bf8fbf62d148012ed19f25086c89dfb2

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ac17f332b6874bac4f6ab757a6faaf628ef6bd4871d44819fa70239a4b142547
MD5 7e03f2264eda20da858f1b9730d792ff
BLAKE2b-256 38423c1bb6b229eb18c15daac6c02bc11731cec940f8c9dddb1feea04366e0db

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0852867eb53da0733c5d348976b80c7d4203eee9287e59231437f2f34dddad9f
MD5 d544fc2aee9f2d0d5a9a846db335aebd
BLAKE2b-256 51c639dfccaaf3ff51cbf4e22aba040d8f93a07e01a29ef4d0be6ccceee223a7

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5d4029a19a6b76c536bfa83768cefd46a99234a448a9a8d62475d325135865d0
MD5 be88b6df51e9963f700402f92dc768bb
BLAKE2b-256 fca32bb862e88723e444c4f68e4cbd2e6d06f0ce534c4dd9afb86775fb08af4d

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 24c3ac2d0fb95b770c8dd37fe2fc898c94f80d051fa99d8fc3f518b64646ffe7
MD5 2196c676e812beddf84d02df9a979da8
BLAKE2b-256 0697935b00b50e91a0c685b247ab89ea9d1aec4e95c66e84c57e62b6621afb09

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f261ebb9916efa7b77e137ce1ba79990856aa0fa8c4ec0a9136af5d7a51a0d17
MD5 617bc87e3fbe2c843cd10d843cccc00e
BLAKE2b-256 9ed0ada45d7a5d56c11561ddeaa079c758d95b9e6e3d0d0fc69d70f475a55c75

See more details on using hashes here.

File details

Details for the file gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_multimodal_binary-0.2.0.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 638fae767028657106f7559f69c7b3e2b00242d52bb7df05874a053fb5eb4a66
MD5 e21a5b571ac1a484820892e1e2ecc76c
BLAKE2b-256 2434189c25feeb17df6ea2d16bbb85a3a115fb40f2f60a2ca23211f55d70b3fd

See more details on using hashes here.

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