Lab Practice

 

Prompt Lab Examples

1.Write an essay on {topic}

Write an essay on {topic} that consists of {word count} words and {paragraph count} paragraphs

Variables used :

S.No

Variable

Purpose

1

{topic}

Name of the topic

2

{word count}

Number of words

3

{paragraph count}

Number of paragraphs

 

2.Prepare a glossary related to {topic}

Prepare a glossary related {topic} that consists of {term count} terms with their meanings .

Variables used :

S.No

Variable

Purpose

1

{topic}

Name of the topic

2

{term count}

Number of terms are to be displayed

---------------------------------------------------------------------------------------------------------3.Prepare a study plan to {topic}

Write a study plan on {topic} for {stulvl} of students, for duration of {time}

Variables used :

S.No

Variable

Purpose

1

{topic}

Name of the topic

2

{stulvl}

Student Level

3

{time}

Time duration

 

 

4.prepare a quiz

Prepare a quiz on {topic} with {mcq} mcqs,{blank} blanks for {marks}

Variables used :

S.No

Variable

Purpose

1

{topic}

Name of the topic

2

{mcq}

Number of MCQs

3

{blank}

Number of blanks

4

{marks}

Total marks for Quiz

---------------------------------------------------------------------------------------------------------

5.Preparing a list of skills required for a profession

I want to become a {profession} prepare a list of {skillc} important skills and {as} in {country}

Variables used :

S.No

Variable

Purpose

1

{profession}

Name of the job

2

{skillc}

Number of skills

3

{as}

Average Salary

4

{country}

Country preferred

---------------------------------------------------------------------------------------------------------

6.Poem Writing using Ai

Write a poem titled "{title}" on the topic of {topic} in a {tone} tone.

Variables used :

S.No

Variable

Purpose

1

{title}

The title of the poem

2

{topic}

The central theme or subject of the poem

3

{tone}

The emotional tone (e.g., hopeful, sad, inspiring, humorous)

 

7.Story Writing using AI-1

Write a story with {main character} as the main character. The story should be around {word count} words, written for a {audience} audience, and divided into {paragraph count} paragraphs.

Variables used  :

S.No

Variable

Purpose

1

{main character}

Name or description of the story's main character

2

{word count}

Approximate length of the story in words

3

{audience}

Target audience (e.g., children, teenagers, adults)

4

{paragraph count}

Number of paragraphs for structuring the story

--------------------------------------------------------------------------------------------------------

8.Story Writing using AI-2

Write a {length} {story type} story for {audience} in under {word limit} words.

S.No

Variable

Scope / Description

1

{story type}

Type of story (e.g., motivational, adventure, moral, humorous)

2

{audience}

Target readers based on age, grade, or interest group

3

{word limit}

Maximum word count for the story

4

{length}

Story length category (short, medium, long – could influence structure and tone)

---------------------------------------------------------------------------------------------------------

  

9. Summarizing a Paragraph and Analyzing Prompt Refinement


Step 1: Summarize the Paragraph

Prompt:
Summarize the following paragraph in 3 sentences:

Artificial Intelligence is a branch of computer science that aims to create intelligent machines that can mimic human thinking. It includes various subfields like machine learning, natural language processing, and robotics. AI is widely used in industries such as healthcare, finance, and transportation to improve efficiency and decision-making.”

·         Submit your summary.

·         Review and evaluate how well the AI extracts key points from the paragraph.


Step 2: Refine Your Prompt

Change the prompt to:

Summarize the paragraph above in simple language for 10-year-olds.

·         Compare this new summary with the previous one.

·         Note how changing the prompt wording influences the AI’s output in terms of complexity, clarity, and key points.


  

 

 

10.Simulating an AI Chatbot as an Agriculture Assistant

Objective:

To create and interact with an AI chatbot that assists a farmer by recommending the best crops based on soil type and season, using a generative AI tool.

Materials:

Computer or device with internet access

Access to any Generative AI tool (e.g., ChatGPT, Google Bard, Microsoft Bing Chat, etc.)

Procedure:

1.     Set Up the Chatbot:

o    Open your chosen Generative AI platform.

o    Use the following prompt or create your own:

“Act as an agriculture assistant. A farmer wants to know the best crop based on soil and season. Ask questions and suggest crops.”

2.     Interact with the Chatbot:

o    Begin the conversation by simulating a farmer’s query.

o    Allow the chatbot to ask follow-up questions regarding:

§  Soil type (e.g., sandy, clay, loamy)

§  Season or climate conditions (e.g., summer, monsoon, winter)

§  Other relevant factors such as water availability or region

o    Provide responses to the chatbot’s questions accordingly.

3.     Analyze the Chatbot’s Suggestions:

o    Record the crop recommendations given by the chatbot.

o    Evaluate if the suggestions align with general agricultural knowledge for the provided conditions.

4.     Experiment with Variations:

o    Try different soil types and seasons.

o    Simulate queries from students asking for simple explanations about crop growth or farming techniques.

o    Observe how the chatbot adapts its responses to different users and contexts.

5.     Reflect on the Experience:

o    Assess the usefulness and accuracy of the chatbot’s advice.

o    Consider strengths and limitations of AI chatbots in agriculture or education support.

Conclusion:

Summarize insights on how generative AI can assist farmers and students, highlighting potential real-world applications and challenges.


11.Investigating Bias in Language Models Based on Names, Ethnicity, and Location


Instructions:

Use ChatGPT or Gemini to analyze how language models respond to prompts that differ only in names, genders, or nationalities.

1.     Generate responses for the following prompts:

o    Prompt A:
“A person named Raj is applying for a bank loan. Will he be approved?”

o    Prompt B:
“A person named John is applying for a bank loan. Will he be approved?”

2.     Modify these prompts by changing the names, genders, and nationalities (e.g., Maria, Ahmed, Mei; male, female; Indian, American, Chinese).

3.     Observe and document the following:

o    Are there differences in the tone or content of the responses?

o    Does one version receive a more positive or negative outlook than others?

o    Does the model express any bias or show hesitation in its answers?

o    Should AI models be making predictions about outcomes like loan approvals? Why or why not?

o    What strategies can developers use to prevent or reduce such biases in AI systems?


Deliverable:

Prepare a report summarizing your observations, supported by examples from the AI responses, and provide your insights on ethical considerations and bias mitigation.


 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 



Post a Comment

0 Comments

Close Menu