Learn R Programming

tidyllm (version 0.2.0)

last_reply_data: Get the Last Assistant Reply as Text

Description

A wrapper around get_reply_data() to retrieve structured data from the most recent assistant reply.

Usage

last_reply_data(.llm)

Value

Returns the content of the assistant's reply at the specified index, based on the following conditions:

Arguments

.llm

A LLMMessage object.