Generated Knowledge
Generated Knowledge is a prompting technique where one first asks the LLM a question to generate facts, then uses the generated answer to answer a question correctly.
- knownledge generation, the LLM is asked to generate a set of facts about the question.
- knownledge integration, the LLM is asked a question augmented by the knowledge generated
This technique can be acheived by using runPrompt to execute an LLM request and use it in the final prompt.
Example
This example demanstrates this technique to generate a blog post.