Class ApplicationOutput.DocReference.DocReferenceBuilder<C extends ApplicationOutput.DocReference,B extends ApplicationOutput.DocReference.DocReferenceBuilder<C,B>>
java.lang.Object
com.alibaba.dashscope.legacy_2x.app.ApplicationOutput.DocReference.DocReferenceBuilder<C,B>
- Enclosing class:
- ApplicationOutput.DocReference
public abstract static class ApplicationOutput.DocReference.DocReferenceBuilder<C extends ApplicationOutput.DocReference,B extends ApplicationOutput.DocReference.DocReferenceBuilder<C,B>>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBiz id that caller is able to associated for biz logicabstract Cbuild()id of original doc that retrievedname of original doc that retrievedurl of original doc that retrievedList of referenced image URLsindex id of doc retrival result referencepageNumber(List<Integer> pageNumber) List of referenced page numberprotected abstract Bself()text in original doc that retrievedtitle of original doc that retrievedtoString()
-
Constructor Details
-
DocReferenceBuilder
public DocReferenceBuilder()
-
-
Method Details
-
indexId
index id of doc retrival result reference- Returns:
this.
-
title
title of original doc that retrieved- Returns:
this.
-
docId
id of original doc that retrieved- Returns:
this.
-
docName
name of original doc that retrieved- Returns:
this.
-
docUrl
url of original doc that retrieved- Returns:
this.
-
text
text in original doc that retrieved- Returns:
this.
-
bizId
Biz id that caller is able to associated for biz logic- Returns:
this.
-
images
List of referenced image URLs- Returns:
this.
-
pageNumber
List of referenced page number- Returns:
this.
-
self
-
build
-
toString
-