Skip to content

e-m3din4/ai-sweet-talker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

AI Sweet-Talker:

A Montessori-inspired Artificial Intelligence Prompt Grammar Analyzer.

Author: Edgar Medina.

Description

"AI SweetTalker" is a tool written in python defined as a Montessorian AI Prompt Grammar Analyzer, the script main goal is assist users to improve AI prompts, it analyzes the grammar functions of sentences in AI prompts and provides suggestions according quantity and quality in the use and ammount of grammar functions, and sentences structures. The script uses Montessori grammar studies-color codification to classify different grammar functions, appealing to the visual memory and helping users understand patterns in their prompts.

Features

  • Analyzes the grammar functions of sentences in AI prompts
  • Classifies different grammar functions using color codification based on the Montessori Method
  • Provides suggestions for improvement based on the quantity of different grammar functions
  • Can process input in the form of a text file or copy-pasted text
  • Prints suggestions in the terminal with the respective assigned color

Requirements

  • python 3.x
  • python3-pip
  • colorama
  • re
  • nltk

Usage

  1. Git clone repository.

    git clone https://github.com/e-m3din4/ai-sweet-talker

  2. Navigate to AI-Sweet-talker directory

    cd ~/AI-Sweet-talker

  3. Install requirements using pip3.

    pip3 install -r requirements.txt

  4. Run the script:

    python3 AI-Sweet-talker.py

  5. Copy and paste your prompt into the terminal

  6. The script will analyze the grammar functions of the prompt and provide suggestions for improvement.

    Please enter your prompt: "Ini mini mainy moe, ini mini mainy moe... chat gpt!"

  7. The suggestions will be printed in the terminal with the respective assigned color according Montessori Scientific Pedagogy for the Language and Psico-Grammar studies.

LICENSE

This script is distributed under the MIT License.