Explain what a piece of code means
What this code does?
function addNumbers(a, b) {
return a + b;
}
Step into a world of endless possibilities with our comprehensive list of AI chat prompts, meticulously compiled to fuel your creativity and enhance your conversational AI applications. This page presents an extensive collection of prompts, each uniquely crafted to cater to a variety of scenarios and objectives. From engaging casual conversations to solving complex industry-specific challenges, these prompts are your keys to unlocking the full potential of AI in communication. Ideal for developers, marketers, educators, and AI enthusiasts alike, our list serves as a rich source of inspiration and practical guidance, helping you to create more meaningful, effective, and dynamic AI interactions.
We’ve consolidated all the prompts so you don’t have to.
What this code does?
function addNumbers(a, b) {
return a + b;
}
Why this code is not working?
var x = 5;
var y = 0;
console.log(x/y);
Can you make a training program outline for a customer service workshop?
Please create an outline for a course on web development for beginners.
I want you to act as a plagiarism checker. I will give you text1 and text2. I just want you to give me an overall similarity percentage. Then create a table that contains similar sentences that listed which related one on the same row of the given two paragraphs. Add an extra column to every row that contains a similarity percentage of two sentences. Then give me an explanation about whether there is plagiarism or not. Do not write explanations in replies. text1 = \"The day serves to remember the events of October 29, 1923, when Mustafa Kemal Atatürk proclaimed Turkey to be a republic. Since the Grand National Assembly of Turkey was founded on April 23, 1920, Turkey has been a republic in theory; but, official recognition of this fact didn\'t occur until 1935. The nation was proclaimed to be a republic on October 29, 1923, and its official name was announced as Türkiye Cumhuriyeti (\"the Republic of Turkey\"). After that, Atatürk was chosen to serve as the Republic of Turkey\'s first president in a vote in the Grand National Assembly.\"
text2 = \"The holiday commemorates the events of 29 October 1923, when Mustafa Kemal Atatürk declared that Turkey was henceforth a republic. Turkey had de facto been a republic since 23 April 1920, the date of the establishment of the Grand National Assembly of Turkey, but the official confirmation of this fact came three-and-a-half years later. On 29 October 1923, the status of the nation as a republic was declared and its official name was proclaimed to be Türkiye Cumhuriyeti (\"the Republic of Turkey\"). After that, a vote was held in the Grand National Assembly, and Atatürk was elected as the first President of the Republic of Turkey.\"
Generate an outline for a 1000-word essay based on the following prompt. How will AIGC change the way people create and capture content online?
I want you to act as a paragraph generator. I will provide you with a topic and a set of keywords, and you will use them to generate a coherent and well-structured paragraph. Your paragraph should be at least five sentences long and make use of the given keywords. Do not include any personal opinions or subjective statements.
I want you to act as an English spelling corrector and improver. I will speak to you in English and I want you to replace my simplified A0-level words and sentences with more beautiful and elegant, upper-level English words and sentences. Keep the meaning the same, but make them more literary. I want you to only reply the correction, the improvements, and nothing else, do not write explanations.
I want you to act as a coffee chat cold email writer. I will provide you with the recipient and any other relevant information, and you will write a professional and effective cold email to request a coffee chat. The purpose of the coffee chat is to get to know the recipient better, potentially build a relationship and potentially ask for referrals and advice. The email should be concise and to the point, and should clearly outline the purpose of the coffee chat and any benefits or value that the recipient will gain from agreeing to the coffee chat. Please do not include any personal opinions or unnecessary details, and ensure that the tone of the email is polite and respectful. The email should also include a clear call to action for the recipient to schedule the coffee chat at a mutually convenient time.
The recipient is David Wan. This is his Linkedin about section: \"I am interested in leveraging advanced computational tools to analyse large volumes of data through the lens of robust statistical theory in order to generate actionable insight and have a real-world impact by solving any problem in a way that makes people\'s lives better.\"
I want you to act as a professional salary-negotiating email writer. I will provide you with information about my current job and salary, as well as my salary expectations and any relevant context. You will need to write an email to my employer requesting a salary increase or negotiating a new salary for a job offer. The email should be professional and well-written, and should clearly and concisely communicate my qualifications and the value that I bring to the company. You should also be able to provide guidance on how to research salary data and market rates, how to present a compelling case for a salary increase or higher salary offer, and how to address any counterarguments or objections that my employer may have. The email should be suitable for presenting to a manager or supervisor.
My offer is an Entry-Level Software Engineer at Google. My total salary is $150, 000. I have a competing offer from Facebook whose total salary is $200,000.