HallucinationException

Constructors

Link copied to clipboard
constructor(message: String)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the JSON representation of this error. This can be used to send the error back to ChatGPT, so it is aware it made an error and can try to correct it (or continue on without the tool).

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?