Skip to main content

Software Development Kit to interact with Globant Enterprise AI.

Project description

PyGEAI - SDK for Globant Enterprise AI

PyGEAI is a Software Development Kit to interact with GEAI. It's composed of libraries, tools, code samples and other documentation that allows developers to interact with the platform in an easier manner.

Repository

GitHub repository

Configuration

In order to use the SDK, GEAI_API_KEY and GEAI_API_BASE_URL must be defined. There are three ways in which they can be used:

  • Environment variables: Setting GEAI_API_KEY and GEAI_API_BASE_URL as environment variables.
  • Credentials file: Setting GEAI_API_KEY and GEAI_API_BASE_URL in ${USER_HOME}/.geai/credentials
  • Client instantiation: When instantiating a client, one can set the api_key and base_url parameters.

Modules

The SDK is composed of several packages, enclosed within a meta-package:

  • pygeai: meta-package that encapsulates all the components of the SDK.
    • pygeai-cli: command line tool to interact with the SDK
    • pygeai-chat: interactive version of the cli tool
    • pygeai-dbg: debugger to deal with potential issues with the SDK and to have a detailed view of what it’s doing.
    • pygeai-core: to handle interaction with base components of GEAI. Also to handle users, groups, permissions, API keys, organizations, projects, etc
    • pygeai-admin: to handle interactions with GEAI instance.
    • pygeai-agent: to handle interactions with Agent Studio
    • pygeai-assistant: to handle interaction with Data Analyst Assistants, Rag Assistants, Chat with Data Assistants, Chat with API Assistants and Chat Assistants.
    • pygeai-flows: to handle interactions with Flows

Usage

Install PyGEAI

Install package from PyPI

(venv) ~$ pip install pygeai

Verify installation

To verify which version of PyGEAI is installed, run:

(venv) ~$ geai v

View help

To view help:

(venv) ~$ geai h

To view help for a specific command:

(venv) ~$ geai <command> h

Authors

Copyright 2024, Globant. All rights reserved

Developers:

Project details


Release history Release notifications | RSS feed

This version

0.1.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygeai-0.1.5.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

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

pygeai-0.1.5-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

Details for the file pygeai-0.1.5.tar.gz.

File metadata

  • Download URL: pygeai-0.1.5.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for pygeai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 38dd00596da027079d0d2548ca19ecabb07703004b48244bd18a3c8d01ea6eb7
MD5 90bc83d2a939bfcc4b716fa3b3b50a32
BLAKE2b-256 2979f52d09d8417307e9005d529d3dd21344eaaa2c02208b412cab27380b8c14

See more details on using hashes here.

File details

Details for the file pygeai-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pygeai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 47.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for pygeai-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 27436bad6399db7a3f02caf9768d894ce08ba5ffe24275f9c9a1d6e2123b95e4
MD5 71cf941a0ccbd5b54228f605d3d9b565
BLAKE2b-256 4936317a49ee54f7f65ba956d25ba28d3aa0b0fffbf7f6124d0b1b8b5837dbbf

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