The idea of a "grammar" hasn't been adopted in the industry, however structured responses are becoming common place.
Typically these are JSON schemas being provided to hosted models that provide the rules for controlling the response. Here in the native app instance it'll just be defined as a class.
Llamero::BaseGrammar becomes Llamero::StructuredResponse
Removing the Base from the naming convention because now that time has passed it's become clear that inheritance beyond the initial class is never used. Either the class from Llamero is used directly or a single inherited class is used to customize, and never an additional layer of inheritance from there.
The idea of a "grammar" hasn't been adopted in the industry, however structured responses are becoming common place.
Typically these are JSON schemas being provided to hosted models that provide the rules for controlling the response. Here in the native app instance it'll just be defined as a class.
Llamero::BaseGrammarbecomesLlamero::StructuredResponseRemoving the
Basefrom the naming convention because now that time has passed it's become clear that inheritance beyond the initial class is never used. Either the class from Llamero is used directly or a single inherited class is used to customize, and never an additional layer of inheritance from there.