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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygeai-0.1.6.tar.gz
  • Upload date:
  • Size: 42.0 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.6.tar.gz
Algorithm Hash digest
SHA256 2dc79d1351120bb86d3b61fd9df4871db31e8a0d04f83df8f0f893a79cb4cc38
MD5 225b6982517fac85ad91fad892b0147c
BLAKE2b-256 2c2763a4fd9e5a85d2dc7d23b4018f5484fb8c8355a7818ba52a841930c2e5ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygeai-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 55.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 600d407db4a0cbfc9b92b755a9bb1917bf4b971c4fb8939f7d7ad848264c4ea1
MD5 f55fa4aec84123a218fc7fd89aaba53f
BLAKE2b-256 3d18b527f83e0a6e85356329cd32078f387bbaddfff8bc8a305e3e726281a58f

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