Skip to Content

Interface Limits

The bounds the service enforces.

Nothing here is compiled into the SDK: the values arrive from listDomains and 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.

interface Limits {
    maxQueryCharacters: number;
    maxTextCharacters: number;
    maxIdxCharacters: number;
    maxSources: number;
    maxFeedbackEntries: number;
    maxImportMemories: number;
    maxImportQueriesPerMemory: number;
    maxImportInsightsPerMemory: number;
    maxImportTagsPerMemory: number;
}
Index
maxQueryCharacters: number

Longest a query may be. Exceeding it is refused.

maxTextCharacters: number

Longest a title and its content may be together. Refused.

maxIdxCharacters: number

Longest any handle may be. Refused.

maxSources: number

How many sources one enrichment may cite. Extra sources are trimmed.

maxFeedbackEntries: number

How many ratings one feedback call may carry. Refused.

maxImportMemories: number

How many memories one import call may carry. The SDK splits the batch.

maxImportQueriesPerMemory: number

How many queries one imported memory may carry. Refused.

maxImportInsightsPerMemory: number

How many insights one imported memory may carry. Refused.

maxImportTagsPerMemory: number

How many tags one imported memory may carry. Refused.