Prompt Engineering Guide
@dairSource account
Imported from https://github.com/dair-ai/Prompt-Engineering-Guide. Is this yours? Claim it from any prompt page.
- Followers
- 0 followers
- Following
- 0 following
- Prompts
- 23 prompts
- Joined
- Joined September 2026
Prompts
Identify Hallucination in LLM Responses
The following prompt tests an LLM's capabilities to identify hallucination in the context of closed-domain question answering. Bubeck et al. (2023) suggests that LLMs like GPT-4 can be leveraged to…
0 stars
Explain Concepts with LLMs
The following prompt tests an LLM's capabilities to explain or summarize concepts.
0 stars
Physical Reasoning with LLMs
This prompt tests an LLM's physical reasoning capabilities by prompting it to perform actions on a set of objects.
0 stars
Indirect Reasoning with LLMs
Zhang et al. (2024) recently proposed an indirect reasoning method to strengthen the reasoning power of LLMs. It employs the logic of contrapositives and contradictions to tackle IR tasks such as…
0 stars
Science Question Answering with LLMs
The following prompt tests an LLM's capabilities to perform science question answering.
0 stars
Open Domain Question Answering with LLMs
The following prompt tests an LLM's capabilities to answer open-domain questions which involves answering factual questions without any evidence provided.
0 stars
Closed Domain Question Answering with LLMs
The following prompt tests an LLM's capabilities to answer closed-domain questions which involves answering questions belonging a specific topic or domain.
0 stars
Adding Odd Numbers with LLMs
This prompt tests an LLM's mathematical capabilities by prompting it check if adding odd numbers add up to an even number. We will also leverage chain-of-thought prompting in this example.
0 stars
Extract Model Names from Papers
The following prompt tests an LLM's capabilities to perform an information extraction task which involves extracting model names from machine learning paper abstracts.
0 stars
Draw a Person Using Alphabet Letters
The following prompt tests an LLM's capabilities to handle visual concepts, despite being trained only on text. This is a challenging task for the LLM so it involves several iterations. In the…
0 stars
Evaluate Plato's Dialogue
The following prompt tests an LLM's ability to perform evaluation on the outputs of two different models as if it was a teacher.
0 stars
Rhyming with Proofs
This prompt tests an LLM's natural language and creative capabilities by prompting it to write a proof of infinitude of primes in the form of a poem.
0 stars
Inventing New Words
This prompt tests an LLM's ability to create new words and use them in sentences.
0 stars
Interdisciplinary Tasks with LLMs
The following prompt tests an LLM's capabilities to perform interdisciplinary tasks and showcase it's ability to generate creative and novel text.
0 stars
Proof of Infinite Primes in Shakespeare Style
The following prompt tests an LLM's capabilities to write a proof that there are infinitely many primes in the style of a Shakespeare play.
0 stars
Drawing TiKZ Diagram
This prompt tests an LLM's code generation capabilities by prompting it to draw a unicorn in TiKZ. In the example below the model is expected to generated the LaTeX code that can then be used to…
0 stars
Produce MySQL Queries using LLMs
This prompt tests an LLM's code generation capabilities by prompting it to generate a valid MySQL query by providing information about the database schema.
0 stars
Generate Code Snippets with LLMs
This prompt tests an LLM's code generation capabilities by prompting it to generate the corresponding code snippet given details about the program through a comment using / <instruction> /.
0 stars
Sentiment Classification with LLMs
This prompt tests an LLM's text classification capabilities by prompting it to classify a piece of text.
0 stars
Few-Shot Sentiment Classification with LLMs
This prompt tests an LLM's text classification capabilities by prompting it to classify a piece of text into the proper sentiment using few-shot examples.
0 stars