AIchat.js Downloads

Download the files below to add AIchat.js in your site. You can also load them from this site (see below)

Installation

You can add AIchat.js to your site by uploading the files to your server and referencing them or adding the following code before the closing body tag (you will also need a response template named faqen.csv in the root folder):

<link rel="stylesheet" href="http://onl.cl/AIchat/v1/AIchat.v1.min.css" type="text/css" media="screen" /> <script type="text/javascript" src="http://onl.cl/AIchat/v1/dependencies.v1.min.js"></script> <script type="text/javascript" src="http://onl.cl/AIchat/v1/AIchat.v1.min.js"></script>

If you choose to use a different response template then you will have to define a variable inside the javascript code in your page (csv template with headers Question, Response).

<script type="text/javascript"> var csv = "path/to/responsetemplate.csv"; </script>