packages feed

openai-1.0.0: src/OpenAI/V1/VectorStores/FileCounts.hs

-- | The `FileCounts` type
module OpenAI.V1.VectorStores.FileCounts
    ( -- * Main types
      FileCounts(..)
    ) where

import OpenAI.Prelude

-- | File counts
data FileCounts = FileCounts
    { in_progress :: Natural
    , completed :: Natural
    , failed :: Natural
    , cancelled :: Natural
    , total :: Natural
    } deriving stock (Generic, Show)
      deriving anyclass (FromJSON)