TextResponse Constructors
A response that contains AI-generated or manipulated text (for example, text generation, translation, or content transformation).Name | Parameters | Description |
---|---|---|
TextResponse(ChatCompletion) | chatCompletion | Initializes a new instance of the TextResponse class with specified settings. |
TextResponse(String, ResponseStatus) | Response, Status | Initializes a new instance of the TextResponse class with specified settings. |
See Also