Skip to content

A genie that changes the direction of a resultant vector contextually based on input strings. The app demos an environment for this genie.

Notifications You must be signed in to change notification settings

intelligent-artifacts/focus-genie-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

focus-genie-app

This project consists of a genie genome and an HTML5 app.

Upload the genome to your Genie Factory at https://genie-factory.intelligent-artifacts.com, spawn a new bottle for the genie, and copy-paste the bottle's API interface into the app's main page where it says "Genie Interface".

This genie changes the direction of a vector based on context from strings. The HTML5 app consists of a face representing the genie. When something bad happens, like a bomb explodes or when the genie moves away from food, the genie gets a negative utility hit, i.e. 'scalar': [-100], and frowns. When something good happens like it eats food or escapes a bomb, it gets a positive utility hit, 'scalar': [100], and smiles.

In short time, the genie learns to stay away from bombs and go get food.

Play around with the scalar value to change how quickly the genie learns this. Add new items to the scene, or make things change their responses to the genie to see how the genie adapts in real-time.

Tutorial:

Available here: http://www.intelligent-artifacts.com/docs/example_focus_genie.html

To Run:

Run this on a server.

Alternatively, Firefox users can run it by opening the index.html file, directly. (Chrome, Safari, and IE users will get cross origin request error if attempting to load the file directly.)

About

A genie that changes the direction of a resultant vector contextually based on input strings. The app demos an environment for this genie.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published