DocumentChunk reprezentuje fragment treści z Document w korpusie DeveloperKnowledge. Aby pobrać całą zawartość dokumentu, przekaż wartość parent do parametru DeveloperKnowledge.GetDocument lub DeveloperKnowledge.BatchGetDocuments.
| Zapis JSON |
|---|
{
"parent": string,
"id": string,
"content": string,
"document": {
object ( |
| Pola | |
|---|---|
parent |
Tylko dane wyjściowe. Zawiera nazwę zasobu dokumentu, z którego pochodzi ten fragment. Format: |
id |
Tylko dane wyjściowe. Określa identyfikator tego fragmentu w dokumencie. Identyfikator fragmentu jest unikalny w ramach dokumentu, ale nie jest unikalny globalnie w różnych dokumentach. Identyfikator fragmentu nie jest stały i może się z czasem zmienić. |
content |
Tylko dane wyjściowe. Zawiera treść fragmentu dokumentu. |
document |
Tylko dane wyjściowe. Zawiera metadane dotyczące |