Class OpenAiChatCompletionsResponse
java.lang.Object
com.github.hakenadu.javalangchains.chains.llm.openai.OpenAiChatParameters
com.github.hakenadu.javalangchains.chains.llm.openai.OpenAiChatCompletionsResponse
public final class OpenAiChatCompletionsResponse extends OpenAiChatParameters
Model class for the response body of an OpenAI /chat/completions request
-
Constructor Summary
Constructors Constructor Description OpenAiChatCompletionsResponse(List<OpenAiChatCompletionsChoice> choices) -
Method Summary
Modifier and Type Method Description List<OpenAiChatCompletionsChoice>getChoices()Methods inherited from class com.github.hakenadu.javalangchains.chains.llm.openai.OpenAiChatParameters
copyFrom, frequencePenalty, getFrequencePenalty, getLogitBias, getMaxTokens, getModel, getN, getPresencePenalty, getTemperature, logitBias, maxTokens, model, n, presencePenalty, setFrequencePenalty, setLogitBias, setMaxTokens, setModel, setN, setPresencePenalty, setTemperature, temperature
-
Constructor Details
-
OpenAiChatCompletionsResponse
- Parameters:
choices-choices
-
-
Method Details
-
getChoices
- Returns:
choices
-