A module for A.I
Project description
Installing Jare
Since this is a python module, you have to have the module installed. Know since I do have a windows and not mac or linux it might be a bit different but mostly it is the same.
To install Jare, simply open Command Promt(For Mac or Linux it is different, you can google “how to install packages in mac/linux” if you have any of those) and then type:
pip install jare
Commands:
1.jare_run_list
This Command takes 3 values:
1.Input value (input(x))
2.Questions list (questions = [“Hello”, “How are you doing”])
Answers List (answers = [“Hi”, “I am fine, Thank You!”])
BEFORE YOU CODE: MAKE SURE THAT THE INDEX OF THE QUESTION AND THE ANSWER LIST ARE THE SAME FOR EXAMPLE: IF YOU WANT THE BOT TO SAY Hi WHEN THE USER ASKE’S hello AND IF YOU WANT THE BOT TO SAY I am fine, Thank You! WHEN THE USER ASKE’S How are you doing THEN THE INDEX OR THE STRINGS HAVE TO BE IN THE SAME ORDER
questions = [“Hello”, “How are you doing”]
answers = [“Hi”, “I am fine, Thank You!”]
Then it simple combines it in to a dictionary and then ask’s the user for an input and then prints out the responses
2.jare_run_dictionary
This is very similar to the 1st Command. Simply it takes two values the input value and the dictionary. Make sure that the dictionary is something like this:
dictionary = {“Hello”:”Hi”, “How are you”:”I am fine thank you!”}
then ask’s the user for an input and then prints out the responses
Change Log
0.0.1 (11/07/2021)
First Release
Added jase_run
Changed Name
0.0.2 (11/07/2021)
Changed Name
Added more info in README.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Jare-0.0.3.tar.gz
.
File metadata
- Download URL: Jare-0.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7092799957336ccf4e44b74fba26e3d100c57c527353d8ffe896cc241dca3a59
|
|
MD5 |
649f93bee36dcc29ed6de22ac3ad884b
|
|
BLAKE2b-256 |
e979584f42194d468ba5baaa908a5b3453d03bfaf656193af0c9eb8f8f983e47
|