This feature is experimental and may be subject to change. If you encounter any issues while using this functionality, please report bugs and errors in our bug tracking system.
Checks whether a specific AI endpoint is configured and available for use.
Lucee Function Reference
luceeaihas()
Example
luceeaihas(string name):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes |
The name of the AI endpoint to check. Can be either: 1. A direct endpoint name as configured in the Lucee Administrator 2. A default reference (e.g., "default:exception") which will check if a default endpoint is configured for that category |