Interface Limits
interface Limits {
maxQueryCharacters: number;
maxTextCharacters: number;
maxIdxCharacters: number;
maxSources: number;
maxFeedbackEntries: number;
maxImportMemories: number;
maxImportQueriesPerMemory: number;
maxImportInsightsPerMemory: number;
maxImportTagsPerMemory: number;
}
maxQueryCharacters: number;
maxTextCharacters: number;
maxIdxCharacters: number;
maxSources: number;
maxFeedbackEntries: number;
maxImportMemories: number;
maxImportQueriesPerMemory: number;
maxImportInsightsPerMemory: number;
maxImportTagsPerMemory: number;
}
Properties
ReadonlymaxQueryCharacters
maxQueryCharacters: number
Longest a query may be. Exceeding it is refused.
ReadonlymaxTextCharacters
maxTextCharacters: number
Longest a title and its content may be together. Refused.
ReadonlymaxIdxCharacters
maxIdxCharacters: number
Longest any handle may be. Refused.
ReadonlymaxSources
maxSources: number
How many sources one enrichment may cite. Extra sources are trimmed.
ReadonlymaxFeedbackEntries
maxFeedbackEntries: number
How many ratings one feedback call may carry. Refused.
ReadonlymaxImportMemories
maxImportMemories: number
How many memories one import call may carry. The SDK splits the batch.
ReadonlymaxImportQueriesPerMemory
maxImportQueriesPerMemory: number
How many queries one imported memory may carry. Refused.
ReadonlymaxImportInsightsPerMemory
maxImportInsightsPerMemory: number
How many insights one imported memory may carry. Refused.
ReadonlymaxImportTagsPerMemory
maxImportTagsPerMemory: number
How many tags one imported memory may carry. Refused.
The bounds the service enforces.
Nothing here is compiled into the SDK: the values arrive from
listDomainsand are applied to later calls. A client that has not called it checks only structural rules, which is why every operation is still safe before the first round trip.