Skip to main content

Specification

This chapter introduces the basics of Generative AI, Prompting, Prompt Engineering, Chatbots, and more.

๐Ÿ“„๏ธ 8. Optional Capabilities

MCS keeps the base contract tiny. Optional behavior is signaled via capability flags in DriverMeta. Consumers must feature-detect before invoking an optional method: check that the flag is present in meta.capabilities, then call the method on the layer that resolvecapability returns โ€” *not necessarily on the driver instance you hold*, since a decorator delegates the interface but not arbitrary methods. The client-side pattern below shows the full detect โ†’ resolve โ†’ call sequence.