public class ContextChatCompletionsRequest extends Object
| Constructor and Description |
|---|
ContextChatCompletionsRequest() |
public ContextChatCompletionsRequest contextId(String contextId)
@NotNull public @NotNull String getContextId()
public void setContextId(String contextId)
public ContextChatCompletionsRequest frequencyPenalty(Float frequencyPenalty)
public Float getFrequencyPenalty()
public void setFrequencyPenalty(Float frequencyPenalty)
public ContextChatCompletionsRequest logitBias(LogitBiasForContextChatCompletionsInput logitBias)
@Valid public @Valid LogitBiasForContextChatCompletionsInput getLogitBias()
public void setLogitBias(LogitBiasForContextChatCompletionsInput logitBias)
public ContextChatCompletionsRequest logprobs(Boolean logprobs)
public Boolean isLogprobs()
public void setLogprobs(Boolean logprobs)
public ContextChatCompletionsRequest maxTokens(Integer maxTokens)
public Integer getMaxTokens()
public void setMaxTokens(Integer maxTokens)
public ContextChatCompletionsRequest messages(MessagesForContextChatCompletionsInput messages)
@Valid public @Valid MessagesForContextChatCompletionsInput getMessages()
public void setMessages(MessagesForContextChatCompletionsInput messages)
public ContextChatCompletionsRequest model(String model)
@NotNull public @NotNull String getModel()
public void setModel(String model)
public ContextChatCompletionsRequest presencePenalty(Float presencePenalty)
public Float getPresencePenalty()
public void setPresencePenalty(Float presencePenalty)
public ContextChatCompletionsRequest stop(List<String> stop)
public ContextChatCompletionsRequest addStopItem(String stopItem)
public ContextChatCompletionsRequest stream(Boolean stream)
public Boolean isStream()
public void setStream(Boolean stream)
public ContextChatCompletionsRequest streamOptions(StreamOptionsForContextChatCompletionsInput streamOptions)
@Valid public @Valid StreamOptionsForContextChatCompletionsInput getStreamOptions()
public void setStreamOptions(StreamOptionsForContextChatCompletionsInput streamOptions)
public ContextChatCompletionsRequest temperature(Float temperature)
public Float getTemperature()
public void setTemperature(Float temperature)
public ContextChatCompletionsRequest topLogprobs(Integer topLogprobs)
public Integer getTopLogprobs()
public void setTopLogprobs(Integer topLogprobs)
public ContextChatCompletionsRequest topP(Float topP)
public Float getTopP()
public void setTopP(Float topP)
Copyright © 2025. All rights reserved.