DocRouter Prompt icon

DocRouter Prompt

Manage prompts in DocRouter.ai

Create

AI-generated

Summary

Create a new prompt in DocRouter.ai with specified name and content, optionally associating schema details, tags, model, and knowledge base.

Inputs

  • Name (required) — The name of the new prompt.
  • Content (required) — The template text content of the prompt.
  • Schema ID — Optional schema identifier for structured output.
  • Schema Version — Optional schema version number.
  • Tag IDs — Comma-separated list of tag IDs to associate with the prompt.
  • Model — The LLM model to use for this prompt, defaulting to 'gpt-4o-mini'.
  • Knowledge Base ID — Optional knowledge base ID to associate with the prompt.

Output shape

a single JSON object representing the newly created prompt

The output is the created prompt's details as returned by the DocRouter.ai API. Each input item results in a corresponding output item.

Examples

Example 1: Create a prompt named 'SupportBot' with specified content and tags, using the default model.

Set 'Name' to 'SupportBot', 'Content' to the prompt template text, and 'Tag IDs' to relevant tag identifiers.

Links

Discussion