AI prompts
base on Some words that LLM regularly uses [![Streamlit](https://img.shields.io/badge/Streamlit-Webapp-green)](https://ai-text-detect-easy.streamlit.app/) [![Blog](https://img.shields.io/badge/Blog-Link-orange)](https://levelup.gitconnected.com/detect-ai-text-by-just-looking-at-it-24604008027c) [![Code](https://img.shields.io/badge/Code-Link-blue)](https://github.com/FareedKhan-dev/Detect-AI-text-Easily/blob/main/code.py) [![AI Words File](https://img.shields.io/badge/AI_Words-Link-yellow)](https://github.com/FareedKhan-dev/Detect-AI-text-Easily/blob/main/ai_words.txt)
## Detect AI Text by Just Looking at it
![Abstract of a Research Paper written using ChatGPT](https://cdn-images-1.medium.com/max/2448/1*fTV_vFjFWyhPSnWDauYOWw.png)
[ChatGPT](https://chat.openai.com/) often generates words that may require a dictionary for understanding, or it comes up with words that just sound magical. This isn’t only true for ChatGPT, other open-source language models like [Mistral](https://mistral.ai/news/announcing-mistral-7b/) do the same. There’s no harm in seeking assistance from AI to create content, as long as it’s done ethically, but in a [science-writing competition for 14–16 year-olds](https://www.bbc.com/future/article/20230720-how-to-spot-an-ai-cheater-artificial-intelligence-large-language-models#:~:text=%22Labyrinthian%20mazes%22.%20I%20don%27t%20know%20what%20exactly%20struck%20me%20about%20these%20two%20words%2C%20but%20they%20caused%20me%20to%20pause%20for%20a%20moment), a judge got suspicious when he saw the phrase **“Labyrinthian mazes”** in an essay, which seemed too advanced for a teenager writing. So, he used AI tools to check it. Unfortunately, all four tools gave the same result, almost the entire essay, around 90–96%, seemed to be written by AI, not a human. However, not all of us are professionals, If we see the above phrase, we may have skipped it due to our limited awareness.
> # There is a need for critical thinking skills to identify if AI is the author
The easiest way to spot AI-generated text is by checking for words that you don’t usually use but are common for ChatGPT. Consider a massive corpus of over [19 billion English words](https://www.english-corpora.org/now/) from blogs, articles, news, and more, updated daily from 2010 to now. I looked for the word **“delve” **using a string search algorithm, and it showed up **52,388 times**. I plot its yearly pattern and identified an unusual behavior, a **~200%** growth in its appearance on the internet from 2022, the same year when ChatGPT was released on November 30th.
![Trend of Delve word occurrence in [NOW](https://www.english-corpora.org/now/) Corpus (by Fareed Khan)](https://cdn-images-1.medium.com/max/3856/1*Tv76vgfG7kOF5IRudR5EIg.png)
Other words, like **“intricacies” **or **“unwavering”**, also shows a similar increase, just like **“delve”**. They’re being used more often lately.
![Trend of intricacies and unwavering in [NOW](https://www.english-corpora.org/now/) Corpus (by Fareed Khan)](https://cdn-images-1.medium.com/max/6512/1*EgrevS32vUy4eKx3F__oog.png)
This choice of vocabulary is not necessarily something that AI exclusively uses, as humans also use a diverse range of words. Although, in academic writing, we often use phrases like **“explore”** or **“discuss in more detail”** instead of **“delve”**. I ask ChatGPT to rephrase **“discuss in more detail …”**, ****the initial five suggestions it provides typically include this phrase.
![Rephrasing using ChatGPT](https://cdn-images-1.medium.com/max/7248/1*ypnIW51cEn7y5RqzJ0YrBw.png)
Moreover, I try to analyze the [arXiv database](https://www.kaggle.com/datasets/Cornell-University/arxiv), a famous publishing papers platform containing more than 2 million papers in it up to 2023. I try to detect the word** “delve” **in the papers abstracts and plot its yearly pattern. I was amazed to see that this word has been widely used in the papers abstracts in the year **2023**, the same word that ChatGPT suggested in its top 5 suggestions.
![Trend of Delve word occurrence in [arXiv Database](https://www.kaggle.com/datasets/Cornell-University/arxiv) (by Fareed Khan)](https://cdn-images-1.medium.com/max/3856/1*Ri6_R6bLQJ6TVSmj6JXvVg.png)
This indicates that academic writers may be using ChatGPT, either for rephrasing or generating content. The presence of the word **“delve”** serves as a hint or a doubt that the document submitted from a student or an online blog, either that paragraph or that portion of text, has been rephrased or enhanced using ChatGPT.
Drawing upon my research expertise and two years of experience working with LLMs, I’ve put together [a pretty comprehensive list of 100 words](https://github.com/FareedKhan-dev/Detect-AI-text-Easily/blob/main/ai_words.txt) you can keep an eye out for in a piece of text to help you figure out if it’s been generated or paraphrased using AI.
But checking for such number of words is not an easy job so to achieve it quickly, I made a [web app](https://ai-text-detect-easy.streamlit.app/) that quickly checks your text. Just upload your file or paste your text, and it’ll do the rest. Easy peasy!
![](https://cdn-images-1.medium.com/max/4612/1*9R0i2dDcwrKXlZAqPNlvNw.png)
## Hope you enjoy the read!
", Assign "at most 3 tags" to the expected json: {"id":"9631","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"