Whatever message this page gives is out now! Go check it out!
ragService.chat( message )Parameter | Type | Required | Description |
|---|---|---|---|
message | String | Required | The message or follow-up question from the user. |
answer (String), sources (Array), durationMs (Numeric).// Stateful conversation — context preserved across calls
r1 = ragBot.chat("What is cfquery used for?");
writeOutput(r1.answer);
r2 = ragBot.chat("Tell me more about cfqueryparam.");
writeOutput(r2.answer); // model knows previous context
r3 = ragBot.chat("What are the performance tips?");
writeOutput(r3.answer);