Query
NodeJS
/api/v1/ai/Query – Process an HTML Document and Prompt
Description: This endpoint allows you to send an HTML document and a custom prompt to OpenAI for processing.
Method:
POST
Parameters:
html
: (string) – The HTML document you want to process.prompt
: (string) – The custom instruction or task for processing the HTML content.responseFormat
: (string) – The desired format of the response (e.g.,text
,json
).
Request Example:
Last updated