Skip to main content

Python Intelligent Assistant for Humans.

Project description

jarvy

Dave Bowman (inside EVA pod) trying to convince HAL to open the pod bay doors in “2001: A Space Odyssey” (1968).

Dave: Hello, HAL. Do you read me, HAL?
HAL: Affirmative, Dave. I read you.
Dave: Open the pod bay doors, HAL.
HAL: I'm sorry, Dave. I'm afraid I can't do that.

Although there has been several attempts in making the machines intelligent, the early prototypes were still dumb. Until 2015. Then came Jarvy.

Jarvy : Python Intelligent Assistant for Humans

Travis PyPIv PyPImd

Jarvy, aims to help humans by trying to understand them and figuring out best ways to respond to them. Jarvy is named after Tony Stark’s artificially intelligent assistant in the Iron Man series. However, the inspiration is not restricted to the Iron Man series, but extends to a huge line of books, movies and projects which led to this dream. A dream of living with artificial intelligence.

By design Jarvy does not aim harm, but this is software. Who knows, what could go wrong. I will make it straight. I accept no liability, if one day Jarvy or alike overthrow humans and rule the world.

Why?

The goal is to have a lot of fun, and see where this goes. I want Jarvy to be fully customizable and extensible.

How?

> import jarvy
> j = jarvy.start()

Usage

> Jarvy
> Yes sir
> who is the director of ex machina?
> Ex Machina is a 2015 British science fiction thriller film written
  and directed by Alex Garland, marking his directorial debut.
> who wrote iliad?
> Homer is best known as the author of the Iliad and the Odyssey.
> quit
> Good night

Installation

$ pip install jarvy

Contribution

There are several ways to improve Jarvy. If you have any suggestions, please let me know. Or better, fork the repository, play with Jarvy and contribute by just sending a pull request.

I accept pull requests.

Roadmap

Jarvy is written in Python. There is also a Django interface in the making. The first prototype of Jarvy will be simple. Parse the query, gather information, evaluate findings and respond, that’s all.

Ideas

  • Need to write some unit tests, should use nose?

  • Add Wolfram alpha as endpoint

  • Integrate Travis CI for testing and deployment

  • Add wikipedia as knowledge base. Maybe simple english?

  • Cosine similarity. gensim might be a good idea.

  • How about shallow parsing?

  • A hook to production server for the web binding?

  • How to score multiple sources, and rank them?

  • Will probably need a database and an instantaneous search. Elasticsearch?

  • How about using redis?

  • How about heroku?

  • Better logging mechanism

Release History

1.2.0 (2015-07-21)

  • Simplified import

  • Fixed bug on that prevents termination

1.1.0 (2015-07-21)

  • Made minor changes for packaging and distribution

1.0.0 (2015-07-21)

  • Jarvy is born!

Project details


Download files

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

Source Distribution

jarvy-1.2.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jarvy-1.2.0-py2-none-any.whl (13.4 kB view details)

Uploaded Python 2

File details

Details for the file jarvy-1.2.0.tar.gz.

File metadata

  • Download URL: jarvy-1.2.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jarvy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5095dd26efc920dfc28c6702648bb25f14974f6ef0ce0bba13a2cb5a93ad98a8
MD5 a8679dcf1ef369db0d3b2a4f2fdd34fb
BLAKE2b-256 a7fdb9d678ee608379baff8ec815f067b73344e87570b0bd01ab730ad10e8273

See more details on using hashes here.

File details

Details for the file jarvy-1.2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for jarvy-1.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 5625ecfa0e505712c2b1aad86014c8fef1e301d67a5a1a76db551fc3d9b128d6
MD5 e1190f9a0a9bc264817d5a27df7b4040
BLAKE2b-256 4d6d9e79d7b07db5e8daa4e06027d5ecee4326052fdf2c38fe06185a38325799

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page