Business Education, Career Management, Google APIs, Machine Learning, Python

Levels of AI Agents by their Architectural Components

By Architectural Components, I mean, how the agent makes decisions. The levels describe the core components of an AI agent and how it processes information.  These include agents like Simple Reflex, Model-Based Reflex, Goal-Based, and Learning Agents. Let’s just get familiar with these before we develop agents in the future blogs.

  • Simple Reflex Agents: Respond directly to current inputs without considering past experiences or future goals. 
  • Model-Based Reflex Agents: Maintain an internal model of the environment to handle partially observable situations and make more informed decisions. 
  • Goal-Based Agents: Use their models to search for sequences of actions that achieve specific goals, providing a sense of purpose. 
  • Utility-Based Agents: Go beyond goals to choose actions that maximize a “utility function,” leading to more rational and optimal outcomes. 
  • Learning Agents: Can improve their performance over time by learning from their experiences and interactions with the environment. 
Business Education, Google APIs, R programming, Vision

The slides, R code, and the images I used in the IOT class

Please install R and R-Studio before you try Google Vision APIs.

Calling Googlevision APIs using R Language

Click here for the slides I used in the class

Click here for Key IOT Networks comparison

The Nginx demo video

Here is the code I used in R to demonstrate Google Vision APIs. Remember to install R, R studio, and other libraries first.

========================================
# library(rjson) # to get credentials for Google Cloud Console
library(“rjson”)

creds = fromJSON(file=’C:/Downloads/credentials.json’) # Retrieve Credentials file from cloud console
options(“googleAuthR.client_id” = creds$installed$client_id)
options(“googleAuthR.client_secret” = creds$installed$client_secret)
options(“googleAuthR.scopes.selected” = c(“https://www.googleapis.com/auth/cloud-platform”))

googleAuthR::gar_auth_service(json_file=”C:/Downloads/credentials.json”)

imagePath <- “C:/Downloads/Taj.jpg”
gcv_get_image_annotations(
imagePaths = imagePath,
# feature = “FACE_DETECTION”,
feature = “LANDMARK_DETECTION”,
maxNumResults = 7
)

imagePath <- “C:/Downloads/CarsAndDog.jpg”

gcv_get_image_annotations(
imagePaths = imagePath,
# feature = “LABEL_DETECTION”,
maxNumResults = 10
)

================================