langchain.js
    Preparing search index...
    interface StackExchangeAPIParams {
        maxResult?: number;
        options?: StackExchangeOptions;
        queryType?: "all" | "title" | "body";
        resultSeparator?: string;
    }
    Index

    Properties

    maxResult?: number

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

    3
    
    options?: StackExchangeOptions

    Additional params to pass to the StackExchange API

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

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

    "all"
    
    resultSeparator?: string

    Separator between question,answer pairs.

    "\n\n"