| 23 | json?: boolean; |
| 24 | }; |
| 25 | export interface Response { |
| 26 | /** |
| 27 | * If an error occurs during the operation, "error" is returned, and the "output" is usually null. |
| 28 | */ |
| 29 | error: string | null; |
| 30 | |
| 31 | /** |
| 32 | * If the operation is successful, the "error" argument is null, and the "output" argument contains the result of the operation. |
| 33 | * |
| 34 | * When running models, the output may be a number, string, vector, audio file, or whatever the model generated |
| 35 | * |
| 36 | */ |
| 37 | output: any | null; |
| 38 | } |