Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

20 řádky
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. }