You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 line
398 B

  1. package replicate
  2. type PredictionResponse struct {
  3. Status string `json:"status"`
  4. Output any `json:"output"`
  5. Error *PredictionError `json:"error"`
  6. }
  7. type PredictionError struct {
  8. Code string `json:"code"`
  9. Message string `json:"message"`
  10. Detail string `json:"detail"`
  11. }
  12. type FileUploadResponse struct {
  13. Urls struct {
  14. Get string `json:"get"`
  15. } `json:"urls"`
  16. }