No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

20 líneas
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. }