Learn R Programming

gooseR (version 0.1.0)

goose_ask_raw: Original goose_ask (unformatted)

Description

This is the original goose_ask function without formatting. Use this if you need the raw behavior.

Usage

goose_ask_raw(
  prompt,
  output_format = c("text", "json"),
  quiet = TRUE,
  timeout = 30,
  session_id = NULL
)

Value

Character string with response (text format) or list (json format)

Arguments

prompt

Character string with the question or prompt

output_format

Character, either "text" or "json"

quiet

Logical, suppress status messages

timeout

Numeric, timeout in seconds (default 30)

session_id

Optional session ID for context preservation