interface StackExchangeAPIParams {
    maxResult?: number;
    options?: StackExchangeOptions;
    queryType?: "title" | "body" | "all";
    resultSeparator?: string;
}

Properties

maxResult?: number

The maximum number of results to return from the search. Limiting to 10 to avoid context overload.

Default

3
options?: StackExchangeOptions

Additional params to pass to the StackExchange API

queryType?: "title" | "body" | "all"

Which part of StackOverflows items to match against. One of 'all', 'title', 'body'.

Default

"all"
resultSeparator?: string

Separator between question,answer pairs.

Default

"\n\n"

Generated using TypeDoc