LlamaRequest

data class LlamaRequest(val prompt: String, val maxGenLen: Int = 2048, val temperature: Double? = null)(source)

Request structure for Meta Llama models

Constructors

Link copied to clipboard
constructor(prompt: String, maxGenLen: Int = 2048, temperature: Double? = null)

Properties

Link copied to clipboard
@SerialName(value = "max_gen_len")
val maxGenLen: Int = 2048
Link copied to clipboard
@SerialName(value = "prompt")
val prompt: String
Link copied to clipboard
@SerialName(value = "temperature")
val temperature: Double? = null