LLMResult: {
    generations: Generation[][];
    llmOutput?: Record<string, any>;
}

Contains all relevant information returned by an LLM.

Type declaration

  • generations: Generation[][]

    List of the things generated. Each input could have multiple generations, hence this is a list of lists.

  • Optional llmOutput?: Record<string, any>

    Dictionary of arbitrary LLM-provider specific output.

Generated using TypeDoc