Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CohereLlmInferenceResponse

The generated text result to return.

Properties

generatedTexts

generatedTexts: Array<GeneratedText>

Each prompt in the input array has an array of GeneratedText, controlled by numGenerations parameter in the request.

Optional prompt

prompt: undefined | string

Represents the original prompt. Applies only to non-stream responses.

Const runtimeType

runtimeType: string = "COHERE"

timeCreated

timeCreated: Date

The date and time that the model was created in an RFC3339 formatted datetime string.

Methods

getDeserializedJsonObj

getJsonObj