Inhalte von Dokumenten abrufen
Last updated
Last updated
document_id
ganzzahlig
Erforderlich. Die ID des Dokuments, dessen Inhalte abgerufen werden sollen.
start_chunk
ganzzahlig
Der Start-Chunk-Index. Standard ist 0.
end_chunk
ganzzahlig
Der End-Chunk-Index. Standard ist start_chunk + 20.
404
Dokument nicht gefunden
500
Interner Serverfehler
Für große Dokumente wird der Inhalt in Abschnitte unterteilt. Sie können das vollständige Dokument abrufen, indem Sie mehrere Anfragen stellen:
Stellen Sie eine erste Anfrage mit start_chunk=0
Verwenden Sie den zurückgegebenen end_chunk
-Wert als start_chunk
für die nächste Anfrage
Fahren Sie fort, bis Sie alle Abschnitte abgerufen haben
Dieser Endpunkt gibt den Rohtextinhalt eines Dokuments zurück, sodass Sie auf die vollständigen Informationen für eine detaillierte Verarbeitung oder Analyse zugreifen können.
Returns the content of the document with the specified ID, along with the index of the latest retrieved chunk. Each call fetches up to 20 chunks. To get more, use the end_chunk value from the response as the start_chunk for the next call.
The ID of the document to retrieve contents for.
Indicate the starting chunk that you want to retrieve. If not specified, the default value is 0.
Indicate the ending chunk that you want to retrieve. If not specified, the default value is start_chunk + 20.