public static class ChatCompletionRequest.ChatCompletionRequestToolChoice extends Object
| Constructor and Description |
|---|
ChatCompletionRequestToolChoice(String type,
ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction function) |
| Modifier and Type | Method and Description |
|---|---|
ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction |
getFunction() |
String |
getType() |
void |
setFunction(ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction function) |
void |
setType(String type) |
public ChatCompletionRequestToolChoice(String type, ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction function)
public String getType()
public void setType(String type)
public ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction getFunction()
public void setFunction(ChatCompletionRequest.ChatCompletionRequestToolChoiceFunction function)
Copyright © 2024. All rights reserved.