Constructor for Completions class.
The APIBaseService instance.
Protected
clientCreate Text Completions.
Generate a text completion based on the provided prompt and parameters using the provided model.
The parameters to send to the service.
Stream of TextCompletionStream.
If validation fails or an error occurs during the request.
Class for handling basic text completion requests.