public class ChatCompletion extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatCompletion.Model |
| Constructor and Description |
|---|
ChatCompletion() |
| Modifier and Type | Method and Description |
|---|---|
void |
setFrequencyPenalty(double frequencyPenalty) |
void |
setLogitBias(Map logitBias) |
void |
setMaxTokens(Integer maxTokens) |
void |
setModel(ChatCompletion.Model model) |
void |
setN(Integer n) |
void |
setPresencePenalty(double presencePenalty) |
void |
setStop(List<String> stop) |
void |
setStream(boolean stream) |
void |
setTemperature(double temperature) |
void |
setTopP(Double topP) |
void |
setUser(String user) |
public void setModel(ChatCompletion.Model model)
public void setMaxTokens(Integer maxTokens)
public void setTemperature(double temperature)
public void setTopP(Double topP)
public void setN(Integer n)
public void setStream(boolean stream)
public void setPresencePenalty(double presencePenalty)
public void setFrequencyPenalty(double frequencyPenalty)
public void setLogitBias(Map logitBias)
public void setUser(String user)
Copyright © 2023 grt1228. All rights reserved.