openai-1.0.1: Servant bindings to OpenAI
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenAI.V1.ListOf

Contents

Description

The ListOf type constructor

Synopsis

Types

data ListOf a Source #

Whenever OpenAI says that an API endpoint returns a list of items, what they actually mean is that it returns that list wrapped inside of the following object

Constructors

List 

Fields

Instances

Instances details
FromJSON a => FromJSON (ListOf a) Source # 
Instance details

Defined in OpenAI.V1.ListOf

Generic (ListOf a) Source # 
Instance details

Defined in OpenAI.V1.ListOf

Associated Types

type Rep (ListOf a) :: Type -> Type #

Methods

from :: ListOf a -> Rep (ListOf a) x #

to :: Rep (ListOf a) x -> ListOf a #

Show a => Show (ListOf a) Source # 
Instance details

Defined in OpenAI.V1.ListOf

Methods

showsPrec :: Int -> ListOf a -> ShowS #

show :: ListOf a -> String #

showList :: [ListOf a] -> ShowS #

type Rep (ListOf a) Source # 
Instance details

Defined in OpenAI.V1.ListOf

type Rep (ListOf a) = D1 ('MetaData "ListOf" "OpenAI.V1.ListOf" "openai-1.0.1-3DuKyEdOLg0ITkiRYLcBus" 'False) (C1 ('MetaCons "List" 'PrefixI 'True) (S1 ('MetaSel ('Just "data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector a))))