Skip to main content

Generate text with the configured generative-AI model

POST 

/api/ai/enhance

Runs a single chat request against OCI Generative AI by invoking the OCI CLI on the frontend server, and returns the generated text. The route handler performs no authentication check of its own. Whether and how it is exposed in a given deployment is not verified here.

Request​

Responses​

Generated text.