DE
Anmelden Veröffentlichen

Was ist ein Ausgabeschema?

Was ist das?

Ein Ausgabeschema ist ein JSON Schema, das die Form der erwarteten Antwort genau festlegt: welche Felder, welcher Typ, welche Pflicht sind. Aktuelle Modelle halten sich daran.

Wann verwenden

  • Extract data from text (invoice, CV, email) in a reliable format.
  • Plug a model's answer straight into a program.

Felder der Seite

JSON SchemaThe schema, of type object.
InstructionsWhat the model should do with the text.
ExampleA valid output.

So nutzt du es

The Python example passes the schema to the Anthropic API; the OpenAI format is provided too.

Ausgabeschemas ansehen →