Skip to main content

No project description provided

Project description

GDP Labs GenAI Plugin

Description

A library to implement Plugin architecture and integrate with existing pipelines.

Installation

  1. Python v3.11 or above:

    You can install Python using Miniconda.

  2. Poetry v1.8.2:

    You can install Poetry using cURL (you need Python to install Poetry):

    curl -sSL https://install.python-poetry.org | python3 -
    
  3. Install the library using Poetry:

    # Add GDP Labs artifact repository as primary source
    poetry source add gen-ai https://asia-southeast2-python.pkg.dev/gdp-labs/gen-ai/simple/ --priority=primary
    
    # Add PyPI as supplemental source
    poetry source add pypi --priority=supplemental
    
    # Authenticate to GDP Labs SDK libraries (only gat@gdplabs.id group team has access)
    poetry config http-basic.gen-ai oauth2accesstoken "$(gcloud auth print-access-token)"
    
    # Latest version
    poetry add gllm-plugin --source gen-ai
    
    # Specific version
    poetry add gllm-plugin@0.0.1b5 --source gen-ai
    
  4. At this step, you can deactivate Miniconda environment as Poetry will create and manage its own virtual environment for you.

    conda deactivate
    
  5. Try running the unit test to see if it's working:

    poetry run pytest
    

Usage

For more information, please refer to the PIPELINE.md.

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_plugin_binary-0.0.0-cp312-cp312-manylinux_2_31_x86_64.whl (445.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_plugin_binary-0.0.0-cp311-cp311-manylinux_2_31_x86_64.whl (410.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

Details for the file gllm_plugin_binary-0.0.0-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_plugin_binary-0.0.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f017e361860f55bf414e671ec3d6ce2f4a21a5cccff3d15c3956686cc7f88123
MD5 5f24f404c163c1add3970582e01889a8
BLAKE2b-256 0ab5b18d131de43789eb7e4e43ba22569412d11c03d7d1e9a8d15349beda653b

See more details on using hashes here.

File details

Details for the file gllm_plugin_binary-0.0.0-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_plugin_binary-0.0.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 23158c7bc9c37b5d0020058e2413f5c44a7aed1f229dbd1294e0fae0ea80cb7b
MD5 a77cac60449b34591993d1e39bff10e6
BLAKE2b-256 2ad0b0fa1caf32c37b01354dc7eac08a635105c94cb7746ead71ba5fe7384165

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