Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Citation |
build() |
Citation.Builder |
copy(Citation model) |
Citation.Builder |
documentIds(List<String> documentIds)
Identifiers of documents cited by this section of the generated reply.
|
Citation.Builder |
end(Integer end)
The index of text that the citation ends after, counting from zero.
|
Citation.Builder |
start(Integer start)
The index of text that the citation starts at, counting from zero.
|
Citation.Builder |
text(String text)
The text of the citation
|
public Citation.Builder start(Integer start)
The index of text that the citation starts at, counting from zero.
start
- the value to setpublic Citation.Builder end(Integer end)
The index of text that the citation ends after, counting from zero.
end
- the value to setpublic Citation.Builder text(String text)
The text of the citation
text
- the value to setpublic Citation.Builder documentIds(List<String> documentIds)
Identifiers of documents cited by this section of the generated reply.
documentIds
- the value to setpublic Citation build()
public Citation.Builder copy(Citation model)
Copyright © 2016–2024. All rights reserved.