選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

20 行
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. }