Class OpenAiCompletionsChoice
java.lang.Object
com.github.hakenadu.javalangchains.chains.llm.openai.completions.OpenAiCompletionsChoice
public final class OpenAiCompletionsChoice extends Object
Model class for choices in an OpenAI /completions response
-
Constructor Summary
Constructors Constructor Description OpenAiCompletionsChoice(String text) -
Method Summary
-
Constructor Details
-
OpenAiCompletionsChoice
- Parameters:
text-text
-
-
Method Details
-
getText
- Returns:
text
-