Skip to main content

An easy to use artificial intelligence with multiple environement frameworks.

Project description

EasyAI-Py:

An easy to use artificial intelligence with multiple frameworks already made or custom frameworks. That are used to analyze environments (Environment_Processor obejct), and can also use the other half of it brain to process directives and

Setup:

Start off with specifying your AI token specific to this project like this:

>>> from easyaipy.brain.Brain import ProjectToken
>>> ProjectToken(<your choice of any string combo>)

You will need to create two json files, an admin json and an args json, to pass to the Admin object later on. (See below for a discord_admin.json example)

The Admin Object supports 4 arm_types discord, flask, gmail, console.

JSON file formats:

discord_admin.json

  {
      "admin_name": "<Whatever name you want>",
      "auth_token": "<token that you specified to the ProjectToken object.>"
      "arm_type": "discord"
  }

discord_args.json

  {
      "question": "", # Keep this empty 
      "bot_token": "Njc1NTM2MTMyOTY4MDIyMDI3.Xj4k5A.JiiaTCPB0sFahg63iwT7OWKif1g",
      "server": "<name of the desired server>",
      "channel": "<name of the desired channel>"
  }

flask_admin.json

  {
      "admin_name": "<Whatever name you want>",
      "auth_token": "<token that you specified to the ProjectToken object.>"
      "arm_type": "flask"
  }

flask_args.json

  {
    "no_host": "<bool>",
    "host": "<flask host>",
    "port": "flask port"
   }

gmail_admin.json

  {
      "admin_name": "<Whatever name you want>",
      "auth_token": "<token that you specified to the ProjectToken object.>"
      "arm_type": "gmail"
  }

gmail_args.json

  {
    "self_email": "<host email>",
    "app_password": "<host emails app password>",
    "admin_email": "<you>"
  }

console_admin.json

  {
      "admin_name": "<Whatever name you want>",
      "auth_token": "<token that you specified to the ProjectToken object.>"
      "arm_type": "console"
  }

Note: You do not need to pass an args json for the console arm_type.

Usage:

  import easyaipy as ai
  adm = ai.Admin('<admin json path>,<admin args path>)'
  # Create an Admin Obect that lets you control which one person has access to the ai.

Project details


Download files

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

Files for EasyAIPy, version 0.0.0b0
Filename, size File type Python version Upload date Hashes
Filename, size EasyAIPy-0.0.0b0-py3-none-any.whl (11.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size EasyAIPy-0.0.0b0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page