Class OpenAiCompletionsResponse
java.lang.Object
com.github.hakenadu.javalangchains.chains.llm.openai.OpenAiResponse<OpenAiCompletionsChoice>
com.github.hakenadu.javalangchains.chains.llm.openai.completions.OpenAiCompletionsResponse
public final class OpenAiCompletionsResponse extends OpenAiResponse<OpenAiCompletionsChoice>
Model class for the response body of an OpenAI /completions request
-
Constructor Summary
Constructors Constructor Description OpenAiCompletionsResponse(List<OpenAiCompletionsChoice> choices) -
Method Summary
Methods inherited from class com.github.hakenadu.javalangchains.chains.llm.openai.OpenAiResponse
getChoices
-
Constructor Details
-
OpenAiCompletionsResponse
- Parameters:
choices-OpenAiResponse.getChoices()
-