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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygeai-0.1.7.tar.gz
  • Upload date:
  • Size: 49.5 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.7.tar.gz
Algorithm Hash digest
SHA256 501aab5ed16e6f1744c01cbd677f8bb0b1cc5718cc1361203ca7d4e33e9c7b6a
MD5 5a02f0b9f0e08c21416058ae3a9c6142
BLAKE2b-256 a8c6ebd6c10407adc6bc5e66e9cad70348f5900be796da5d9da752624b24e895

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeai-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 64.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 328cbf6b9684a256b08eddf7f496e4fb33ee608849d8b9b7a087cd70773e8013
MD5 3a23808a9ef6d816d0ce12f6442bae0e
BLAKE2b-256 69dbadb82b63d6a3365b4b1061635af07b2398e09a7cd6229318fd5bc3a45bcd

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