@sqlrooms/ai / TableSchemaContextLimits
Type Alias: TableSchemaContextLimits
TableSchemaContextLimits =
object
Prompt-size limits used when formatting table schema context for an AI model.
Properties
fullSchemaThreshold?
optionalfullSchemaThreshold?:number
Maximum number of scoped tables that can be shown with complete column schemas before switching to hybrid summaries.
namesOnlyThreshold?
optionalnamesOnlyThreshold?:number
Maximum number of scoped tables to mention in the hybrid summary before reporting an omitted-table count.
maxChars?
optionalmaxChars?:number
Optional hard character budget for the generated schema context string.
