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 (SDK) for interacting with Globant Enterprise AI. It comprises libraries, tools, code samples, and documentation to simplify your experience with the platform.

Repository

Find the PyGEAI source code and documentation in the following GitHub repository:

GitHub repository

Configuration

Before using the SDK, you need to define GEAI_API_KEY ($SAIA_APITOKEN) and GEAI_API_BASE_URL ($BASE_URL). You can achieve this in three ways:

  • Environment variables: Set GEAI_API_KEY and GEAI_API_BASE_URL as environment variables in your operating system.
  • Credentials file: Create a file named credentials in the .geai directory within your user home directory ($USER_HOME/.geai/credentials) and define GEAI_API_KEY and GEAI_API_BASE_URL within this file.
  • Client instantiation: Specify the api_key and base_url parameters directly when creating an instance of a client class.

Note: If you plan to use the Evaluation Module, you must also define GEAI_API_EVAL_URL

Modules

The SDK consists of several modules, all accessible through a meta-package:

  • pygeai: This meta-package encapsulates all components of the SDK.
  • pygeai-cli: This package provides a command-line tool for interacting with the SDK.
  • pygeai-chat: This package offers an interactive version of the command-line tool.
  • pygeai-dbg: This package includes a debugger to troubleshoot potential SDK issues and gain detailed insights into its operations.
  • pygeai-core: This package handles interactions with the fundamental components of Globant Enterprise AI, including users, groups, permissions, API keys, organizations, and Projects.
  • pygeai-admin: This package enables interactions with the Globant Enterprise AI instance.
  • pygeai-agent: This package facilitates interactions with Agent Studio.
  • pygeai-assistant: This package handles interactions with various Assistants, including Data Analyst Assistants, RAG Assistants, Chat with Data Assistants, Chat with API Assistants, and Chat Assistants.
  • pygeai-flows: This package enables interactions with Flows.

Usage

Install PyGEAI

Use pip to install the package from PyPI:

(venv) ~$ pip install pygeai

Verify installation

To check the installed PyGEAI version, run:

(venv) ~$ geai v

View help

To access the general help menu:

(venv) ~$ geai h

To view help for a specific command:

(venv) ~$ geai <command> h

Authors

Copyright 2025, Globant. All rights reserved

Developers:

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 Distribution

pygeai-0.1.41.tar.gz (197.9 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.41-py3-none-any.whl (280.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pygeai-0.1.41.tar.gz
Algorithm Hash digest
SHA256 94acd218e9c0afa127226c0985621dd71e5649de4f2b5622bfad1ca185f8cfa8
MD5 5e1d95c6b509ee8388288ef67c4a0a6a
BLAKE2b-256 6e30e2dcc594af8548b69e0454ddf9def33f81f048a97f58f53c96b2afcf28bf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygeai-0.1.41-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3eef47bf8457e8f6fc6e2b7b09f40cbb508c280213af950aa2fa29f1280031
MD5 b6ce8f3b0d40397f4a59a8489a3bef12
BLAKE2b-256 3f9e1f83d71d31bbf3028145034269ff3da9a4c7cc6181b20ae8e4d581d4fac6

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