new_lms_chat_result: Create a new LM Studio chat result

View source: R/chat_oop.R

new_lms_chat_resultR Documentation

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())

Arguments

text

Character. The generated text response.

logprobs

Dataframe. The token-level probability data.

Value

An object of class lms_chat_result.


rlmstudio documentation built on Dec. 1, 2026, 9:07 a.m.