Actions2
OpenAI Compatible API: Request Conclusion with OpenAI Schema
AI-generatedSummary
Send each input item’s goal, case details, and policies to embraceableAI’s OpenAI-compatible chat completions endpoint using the selected model. Return the API response for each item; optionally request stream-formatted output and set the request timeout.
Inputs
- Model Name or ID (required) — Select an available model or provide its ID.
- Goal (required) — State the primary objective to accomplish.
- Details (required) — Provide the case context, facts, and constraints.
- Policies Input Mode — Choose separate list entries (default) or newline-separated text for policies.
- Policies — When list mode is selected, add policy entries. They are formatted as bullet lines in the user message.
- Policies (Text) — When text mode is selected, enter policies as text; the value is included in the user message.
- Advanced Options: Stream Output Format — Defaults to false. When enabled, sends stream=true; the node still returns the completed API response.
- Advanced Options: Timeout (Seconds) — Maximum wait for the API response, in seconds; defaults to 600 and must be at least 1.
Output shape
One output item per input item, containing the API response as JSON.
The request sends a single user message containing the goal, case description, and policies. API errors represented as NodeApiError are returned as JSON with status and message, and optional errors; other errors are returned as an error field when Continue On Fail is enabled, otherwise they fail the operation.