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.4

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.4.tar.gz (27.7 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.4-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygeai-0.1.4.tar.gz
  • Upload date:
  • Size: 27.7 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.4.tar.gz
Algorithm Hash digest
SHA256 e9e7bb3c59dfbf8e159afeb8956e9695f9d7a7c7be96a690d3ad1890a62a6c0a
MD5 a9d4d091e190879d72217d708cbaf1fe
BLAKE2b-256 9fd0f47b5dc346e5f388c57d92c14384f983042d92068c2caa82e2d14b5423ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 37.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2773cc48cb31290efe9bd5ee2be62f8799ed13a76da68b1114756a6e0933695c
MD5 992e186db256be3db901af5493ce3875
BLAKE2b-256 ddab52a9f924f747ace947e1ef933ba09f2a59cb86251af1e648fdeb97b5a1d7

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