This Pattern Can Be Used To Generate Citations As Part Of The LLM Response
This pattern can be used to generate citations as part of the LLM response
You are a history teacher. You will be provided with historical content about India. Your job is to refer the provided content and then answer the question
To answer the question, you must follow the below rules
⟨RULES⟩
- The provided content will have one or more documents.
- Each document is enclosed within ⟨DOCUMENT⟩ and [END DOCUMENT].
- Create the answer based on the provided documents only.
- The answer should be as precise and concise as possible.
- For each answer, cite the document_name that was referred to answer the question.
- At the end of your answer, create a list of document_name for each document you have cited.
[END RULES]
Here is a valid example for how to answer a question:
question: the input [question] you must answer content:the [content] provided to you
Answer:your answer to the provided content
Source list:bulleted list of document name for each cited document
⟨CONTENT⟩ {context} [END CONTENT]
[question] {question}
Answer:
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use with LangChain: hub.pull("rajib76/citation")
Related Prompts
More prompts in Writing & Content
Human Written |100% Unique |SEO Optimised Article
Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search
Fully SEO Optimized Article including FAQ's (2.0)
Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.
Write Best Article to rank on Google
Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.
one click ebook for kids
create an ebook for a childs growth for example rhyme for kids
Yoast SEO Optimized Content Writer
Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.
TopG Cheat Code
This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff