Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion AI Example Help
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Angelico  
View profile  
 More options Oct 12 2012, 2:09 am
Newsgroups: comp.lang.python
From: Chris Angelico <ros...@gmail.com>
Date: Fri, 12 Oct 2012 17:09:40 +1100
Local: Fri, Oct 12 2012 2:09 am
Subject: Re: AI Example Help

On Fri, Oct 12, 2012 at 4:44 PM, Trevor Nelson <blindph...@gmail.com> wrote:
> I really would truely appreciate and example coding of how to put together an initial basic "AI" bot where it can monitor the system and tell me alerts as with being able to query it for questions. As with I am looking for some sort of time efficient way for it to gather it's own data. As otherwise all the information I would have to manually put in would be extreme.

An interesting concept. AI monitoring systems have never really
appealed to me; I personally prefer something with simpler and clearer
rules (eg "if server load exceeds 3.0, raise an alert"), coupled with
information retrieval commands that read like commands, not natural
English. But I can see the value of the more "human-friendly style",
if that's the term for it.

> I greatly appreciate any help you guys can prodive me with to help me get started. Before you assume I want everyone to do all the work for me, it's not the case. It's just that I learn best/faster from example code.
> Also, I am thinking of going with python 2.7 for this since it seems all the documentation I run into isn't for the 3.x Python.

Understandable.

I would recommend treating this as two completely separate projects:
1) Natural language request/response - the "AI" bit, tinkering with
the HOWIE bot
2) Server status querying, log analysis, etc, etc.

You may already be familiar with one or the other, I don't know. But
in any case, they're quite separate; it'll be easier to develop one
and then the other. Divide your problem into pieces, then divide the
pieces further, and keep on dividing until you have a series of
one-banana problems[1].

I would also recommend using Python 3.3, for several reasons:
* There's plenty of docs for 3.3; perhaps web searches are
highlighting 2.x, but if you go to the main docs page[2] you'll find
3.3 there.
* Py3 has much better Unicode support than Py2, a significant factor
when you're working with natural language parsing
* The 2.x line is no longer being developed. Only bugfixes and
security patches will be applied. 3.x, on the other hand, has cool
toys added periodically with new versions.

ChrisA

[1] http://catb.org/jargon/html/O/one-banana-problem.html
[2] http://docs.python.org/py3k/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.