Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
toolExec' :: forall t p m. (PersistentBackend p, MonadIO m, MonadFail m, Tool t, FromJSON t, ToJSON (Output t)) => Text -> Text -> Text -> Text -> Prompt m (Maybe Content) Source #
(<||>) :: forall m. (MonadIO m, MonadFail m) => (Text -> Text -> Text -> Text -> Prompt m (Maybe Content)) -> (Text -> Text -> Text -> Text -> Prompt m (Maybe Content)) -> Text -> Text -> Text -> Text -> Prompt m (Maybe Content) Source #
mergeToolCall :: forall p m. (PersistentBackend p, MonadIO m, MonadFail m) => [ToolProxy] -> Text -> Text -> Text -> Text -> Prompt m (Maybe Content) Source #
hasToolCall :: Contents -> Bool Source #
filterToolCall :: Contents -> Contents Source #