generative-ts

Interface MistralBedrockOptions

interface MistralBedrockOptions {
    $prompt: string;
    examplePairs?: {
        assistant: string;
        user: string;
    }[];
    max_tokens?: number;
    modelId: string;
    stop?: string[];
    system?: string;
    temperature?: number;
    top_k?: number;
    top_p?: number;
}

Hierarchy

  • FewShotRequestOptions
  • ModelRequestOptions
    • MistralBedrockOptions

Properties

$prompt: string
examplePairs?: {
    assistant: string;
    user: string;
}[]

Type declaration

  • assistant: string
  • user: string
max_tokens?: number
modelId: string
stop?: string[]
system?: string
temperature?: number
top_k?: number
top_p?: number