loadAISession

Restores an AI session saved with serializeAISession(), including its settings and conversation history.

loadAISession(name, data) → returns any

This function requires Lucee 7.0.0.195 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

name string
Required

The endpoint name from the Lucee Administrator, or a default:category reference.

data any
Required

The JSON string returned by serializeAISession(), or a struct with the same data.

Examples
Sample code invoking the loadAISession function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub