public static class CohereToolMessage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CohereToolMessage |
build() |
CohereToolMessage.Builder |
copy(CohereToolMessage model) |
CohereToolMessage.Builder |
toolResults(List<CohereToolResult> toolResults)
A list of results from invoking tools recommended by the model in the previous chat turn.
|
public CohereToolMessage.Builder toolResults(List<CohereToolResult> toolResults)
A list of results from invoking tools recommended by the model in the previous chat turn.
toolResults
- the value to setpublic CohereToolMessage build()
public CohereToolMessage.Builder copy(CohereToolMessage model)
Copyright © 2016–2024. All rights reserved.