Interação
This project's module goal is to develop a chatbot that can provide information about Fatec Carapicuíba's university to the user. If you have any difficulty installing the required software, please check the documentation at the "README_COMPLIMENT" file.
Instalation
To start Fatequino's chatbot in your machine, you'll need the following softwares:
- MongoDB, versão 4.x.x
- Python3, versão 3.7.x
- pip, versão 19.x.x
MongoDB
MongoDB Server is the database system used by the application.
To install it, follow the official documentation: Install MongoDb Server Community Edition
Python3 and Pip
Python is the programming language used to develop the chatbot.
To install it, you can follow the instructions at its official website: Install Python
Along with Python, you'll have the pip tool installed. This tool is used to manage Python application's dependencies.
Execution
Start your MongoDB instance at the port 27017.
Download or clone this repository (using the Git tool) and place it in a directory of your preference. For example:
- On Windows:
c:\fatequino - On Linux:
$HOME/fatequino
Create an environment variable named FLASK_APP contaning the value my_flask_app.py
Using a command line tool access the chatbot's directory, for example:
- On Windows:
c:\fatequino\Interação 1 - On Linux:
$HOME/fatequino/Interação\ 1/
Install the applications dependencies running this command on the command line: pip install -r requirements.txt. In case of error, maybe you should try to install the dependencies one by one.
Note: Maybe you'll have to run the command above as system administrator (super user).
Run the python -m flask run command to execute the program.
After these steps, the application can be accessed using the localhost:5000 address on your browser.
Post data into the ChatBot
To insert updated information about Fatec in the ChatBot's database, you'll have to download or access the Postman application. For more information access https://www.postman.com/
To insert data about the classes follow these steps:
-
In the Postman application go to 'WorkSpaces', create a new tab, set it up for "POST" and put this URL in the URL field: http://127.0.0.1:5000/aulasInfo
-
Click in "Body" and change it to "Raw" and change the "type" to "JSON"
-
In the space below, insert the JSON appendix found in the classes.json file inside the project's "Interaction 1" directory
-
Click the "Send" button to send the data to the MongoDB database.
To insert data about classes' schedules follow these steps:
-
In the Postman application go to 'WorkSpaces', create a new tab, set it up for "POST" and put this URL in the URL field: http://127.0.0.1:5000/horarioLocal
-
Click in "Body" and change it to "Raw" and change the "type" to "JSON"
-
In the space below, insert the JSON appendix found in the classes.json file inside the project's "Interaction 1" directory
-
Click the "Send" button to send the data to the MongoDB database.
Demonstration Video
The following link will take you into a video where you will se an entire demonstration of the working project: https://www.youtube.com/watch?v=X33TMoHZzZo&list=PL-vxwN0gnrOu9jyA3wFWFJdjnTrME5EtF
Metadata
Release files for fatequino-chatbot 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fatequino_chatbot-1.0.5.tar.gz | 4.2 kB | Without provenance | Details for fatequino_chatbot-1.0.5.tar.gz |
Release files / fatequino_chatbot-1.0.5.tar.gz
| Download URL | fatequino_chatbot-1.0.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71ce7f52e4f06d7307a51ef4e5a9a2cb46b700e72fa5d425da5cab5c61f04b92
|
|
BLAKE2b-256 checksum How to use checksums |
3547cbd7255feb6f84cdb444b46707b496a7dc2ead324900939cc967e0fb695b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
|
Security for fatequino-chatbot 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.