0Pricing
NLP Academy · Lektion

Extraktive und generative QA

Zwei Möglichkeiten, eine Frage zu beantworten

Extraktive und generative QA ist eine kostenlose NLP Academy-Lektion auf CoddyKit. Dies ist Lektion 1 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des NLP Academy-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der NLP Academy-Kurs umfasst insgesamt 4 Lektionen.

Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.

What Question Answering Means

Question answering, or QA, is the task of returning a precise answer to a natural-language question instead of a list of links. You ask, the system answers. 💬

Two Big Families

QA systems split into two families. Extractive QA pulls the answer straight out of a given passage, word for word.

Generative QA

The other family is generative QA. Instead of copying text, the model writes a fresh answer in its own words, possibly combining several facts.

Extractive Needs a Context

Extractive QA always works against a context passage you provide. The answer must be a span that already exists inside that text.

context = "Marie Curie was born in Warsaw in 1867."
question = "Where was Marie Curie born?"

The Answer Is a Span

In extractive QA the output is a span: a start and end position in the context. Here the span is simply the word Warsaw.

Generative Can Go Beyond

A generative model is not limited to the passage. It can summarize, rephrase, or answer from knowledge baked in during training. ✨

Trust and Traceability

Extractive answers are easy to trust: you can point to the exact text they came from. Generative answers are flexible but harder to verify.

The Risk of Hallucination

Because generative models invent wording, they can hallucinate facts that sound right but are false. Extractive QA cannot do that.

When to Pick Extractive

Choose extractive QA when answers live inside trusted documents and you need exact, auditable quotes, like legal or medical text.

When to Pick Generative

Choose generative QA when you need fluent, combined answers or want to respond even when no single passage holds the full reply.

This Course Starts Extractive

We begin with extractive QA because it is concrete and easy to evaluate. You will load a passage and pull the exact answer from it.

Quick Check

Test your grasp of the two QA families.

Recap

QA returns precise answers. Extractive copies an exact span from a context; generative writes new text. Extractive is auditable and where we start. 🎯

Häufig gestellte Fragen

Ist die Lektion „Extraktive und generative QA“ kostenlos?

Ja — der vollständige Text von „Extraktive und generative QA“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des NLP Academy-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der NLP Academy-Kurs umfasst insgesamt 4 Lektionen.

Was lerne ich in „Extraktive und generative QA“?

Zwei Möglichkeiten, eine Frage zu beantworten Du übst NLP Academy mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.

Brauche ich Erfahrung, um NLP Academy zu starten?

Keine Vorkenntnisse erforderlich. NLP Academy auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 1 von 4.

Wie lange dauert die Lektion „Extraktive und generative QA“?

Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.

Kann ich in dieser NLP Academy-Lektion Code schreiben und ausführen?

Ja. Jede NLP Academy-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.

Alle Lektionen in diesem Kurs

  1. Extraktive und generative QA
  2. Eine QA-Pipeline ausführen
  3. Antwortspannen im Kontext finden
  4. Keine Antwort und lange Dokumente behandeln
← Zurück zu NLP Academy