LemurBaseParams: {
    context?: OneOf<[string, {
        [key: string]: unknown;
    }]>;
    final_model?: LiteralUnion<LemurModel, string>;
    input_text?: string;
    max_output_size?: number;
    temperature?: number;
    transcript_ids?: string[];
}

Type declaration

  • Optionalcontext?: OneOf<[string, {
        [key: string]: unknown;
    }]>

    Context to provide the model. This can be a string or a free-form JSON value.

  • Optionalfinal_model?: LiteralUnion<LemurModel, string>

    The model that is used for the final prompt after compression is performed.

    "default
    
  • Optionalinput_text?: string

    Custom formatted transcript data. Maximum size is the context limit of the selected model, which defaults to 100000". Use either transcript_ids or input_text as input into LeMUR.

  • Optionalmax_output_size?: number

    Max output size in tokens, up to 4000

    2000
    
  • Optionaltemperature?: number

    The temperature to use for the model. Higher values result in answers that are more creative, lower values are more conservative. Can be any value between 0.0 and 1.0 inclusive.

    0
    
  • Optionaltranscript_ids?: string[]

    A list of completed transcripts with text. Up to a maximum of 100 files or 100 hours, whichever is lower. Use either transcript_ids or input_text as input into LeMUR.

{
"transcript_ids": [
"85f9b381-e90c-46ed-beca-7d76245d375e",
"7c3acd18-df4d-4432-88f5-1e89f8827eea"
],
"context": "This is an interview about wildfires.",
"final_model": "anthropic/claude-3-5-sonnet",
"temperature": 0,
"max_output_size": 3000
}