Grammarly
Official siteWriting and rewriting assistance for prompts, emails, and long-form content.
OpenQuickly retrieve and summarize knowledge base content for AI agent development, boosting answer quality and response speed.
Receive user query {query}, search {knowledge_base_url} for relevant content, and return a summary in {output_format}.This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.
{query}User's input query
Filling hint: replace this with your real business context.
{knowledge_base_url}API endpoint or file path of the knowledge base
Filling hint: replace this with your real business context.
{output_format}Desired output format, e.g., plain_text, markdown, or json
Filling hint: replace this with your real business context.
Fill variables below to generate a ready-to-run prompt in your browser.
{query}User's input query
{knowledge_base_url}API endpoint or file path of the knowledge base
{output_format}Desired output format, e.g., plain_text, markdown, or json
Generated Prompt Preview
Receive user query {query}, search {knowledge_base_url} for relevant content, and return a summary in {output_format}.Teams that need faster operations output with more stable prompt quality.
Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.
You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.
Keep exploring with similar templates and matching tools.
No recent items yet.
1. Receive and validate {query}, ensuring it is non-empty and <= 500 characters.
2. Call the knowledge base search API with {query} to retrieve related documents.
3. Aggregate and summarize the retrieved results, extracting key points.
4. Format the final answer in {output_format} and return to the user.
Operations
Tools that work well with this template.