View source: R/goose_ask_enhanced.R
| goose_ask_raw | R Documentation |
This is the original goose_ask function without formatting. Use this if you need the raw behavior.
goose_ask_raw(
prompt,
output_format = c("text", "json"),
quiet = TRUE,
timeout = getOption("goose.timeout", 300),
retries = getOption("goose.retries", 1),
session_id = NULL
)
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 300, i.e., 5 minutes). Complex queries may take longer. Set to Inf for no timeout. |
retries |
Integer, number of retries after the first attempt (default uses
|
session_id |
Optional session ID for context preservation |
Character string with response (text format) or list (json format)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.