Learn R Programming

rlmstudio (version 0.2.2)

new_lms_chat_result: Create a new LM Studio chat result

Description

Internal constructor to create a structured object for responses containing log probabilities.

Usage

new_lms_chat_result(text = character(), logprobs = data.frame())

Value

An object of class lms_chat_result.

Arguments

text

Character. The generated text response.

logprobs

Dataframe. The token-level probability data.