core#

Classes

core.Frontmatter()

Class for reading frontmatter from a string or file.

core.Invoker(prompty)

Base class for all invokers.

core.InvokerFactory()

Factory for creating invokers.

core.ModelSettings

Model settings for a prompty model.

core.NoOpParser(prompty)

NoOp parser for invokers.

core.Prompty

Base Prompty model.

core.PropertySettings

Property settings for a prompty model.

core.SimpleModel

Simple model for a single item.

core.TemplateSettings

Template settings for a prompty model.

Functions

core.param_hoisting(top, bottom[, top_key])

Merge two dictionaries with hoisting of parameters from bottom to top.