public static class ChatResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChatResult |
build() |
ChatResult.Builder |
copy(ChatResult model) |
ChatResult.Builder |
message(Message message) |
ChatResult.Builder |
traces(List<Trace> traces)
The trace that displays the internal progression, such as reasoning and actions during an
execution.
|
public ChatResult.Builder message(Message message)
public ChatResult.Builder traces(List<Trace> traces)
The trace that displays the internal progression, such as reasoning and actions during an execution.
traces
- the value to setpublic ChatResult build()
public ChatResult.Builder copy(ChatResult model)
Copyright © 2016–2024. All rights reserved.