Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Citation |
build() |
Citation.Builder |
copy(Citation model) |
Citation.Builder |
documentIds(List<String> documentIds)
Identifiers for the documents cited in the current generated response.
|
Citation.Builder |
end(Integer end)
Counting from zero, the index of the text that the citation ends after.
|
Citation.Builder |
start(Integer start)
Counting from zero, the index of the text where the citation starts.
|
Citation.Builder |
text(String text)
The text of the citation.
|
public Citation.Builder start(Integer start)
Counting from zero, the index of the text where the citation starts.
start
- the value to setpublic Citation.Builder end(Integer end)
Counting from zero, the index of the text that the citation ends after.
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 for the documents cited in the current generated response.
documentIds
- the value to setpublic Citation build()
public Citation.Builder copy(Citation model)
Copyright © 2016–2024. All rights reserved.