Here is the default prompt. you probably want to re-write it to be in german and to generate german data
my_prompt= """\
Context information is below.
---------------------
{context_str}
---------------------
Given the context information and not prior knowledge.
generate only questions based on the below query.
You are a Teacher/ Professor. Your task is to setup \
{num_questions_per_chunk} questions for an upcoming \
quiz/examination. The questions should be diverse in nature \
across the document. Restrict the questions to the \
context information provided."
"""
dataset = generate_question_context_pairs(nodes, llm=llm, qa_generate_prompt_tmpl=my_prompt, num_questions_per_chunk=2)