return_message: Extract the content from the output of the LLM

View source: R/summarise_function_with_LLM.R

return_messageR Documentation

Extract the content from the output of the LLM

Description

Extracts content and prints the number of tokens used as a message.

Usage

return_message(API_response, verbose = TRUE)

Arguments

API_response

response from the LLM API

verbose

whether to include the message for the number of token's used

Value

A single string summary of the content of the LLM response


assertHE documentation built on June 8, 2025, 10:08 a.m.