IntelliMonad.Tools.DallE3
putImage :: FilePath -> IO (Either String ()) Source #
data DallE3 Source #
Constructors
Fields
Defined in IntelliMonad.Tools.DallE3
Methods
parseJSON :: Value -> Parser DallE3 #
parseJSONList :: Value -> Parser [DallE3] #
omittedField :: Maybe DallE3 #
toJSON :: DallE3 -> Value #
toEncoding :: DallE3 -> Encoding #
toJSONList :: [DallE3] -> Value #
toEncodingList :: [DallE3] -> Encoding #
omitField :: DallE3 -> Bool #
Associated Types
type Rep DallE3 :: Type -> Type #
from :: DallE3 -> Rep DallE3 x #
to :: Rep DallE3 x -> DallE3 #
showsPrec :: Int -> DallE3 -> ShowS #
show :: DallE3 -> String #
showList :: [DallE3] -> ShowS #
(==) :: DallE3 -> DallE3 -> Bool #
(/=) :: DallE3 -> DallE3 -> Bool #
getFunctionName :: String Source #
getFunctionDescription :: String Source #
getFieldDescription :: String -> String Source #
schema :: Schema Source #
data Output DallE3 Source #
toolFunctionName :: Text Source #
toolSchema :: ChatCompletionTool Source #
toolExec :: forall p (m :: Type -> Type). (MonadIO m, MonadFail m, PersistentBackend p) => DallE3 -> Prompt m (Output DallE3) Source #
toolHeader :: Contents Source #
toolFooter :: Contents Source #
parseJSON :: Value -> Parser (Output DallE3) #
parseJSONList :: Value -> Parser [Output DallE3] #
omittedField :: Maybe (Output DallE3) #
toJSON :: Output DallE3 -> Value #
toEncoding :: Output DallE3 -> Encoding #
toJSONList :: [Output DallE3] -> Value #
toEncodingList :: [Output DallE3] -> Encoding #
omitField :: Output DallE3 -> Bool #
type Rep (Output DallE3) :: Type -> Type #
from :: Output DallE3 -> Rep (Output DallE3) x #
to :: Rep (Output DallE3) x -> Output DallE3 #
showsPrec :: Int -> Output DallE3 -> ShowS #
show :: Output DallE3 -> String #
showList :: [Output DallE3] -> ShowS #
(==) :: Output DallE3 -> Output DallE3 -> Bool #
(/=) :: Output DallE3 -> Output DallE3 -> Bool #