Now Assist Qa 标志

Now Assist Qa

组织
Happy-Technologies-LLC
now-assist-qa

配置 Now Assist Q&A,以提供对话式 AI 辅助功能,包括技能配置、知识来源设置、回复质量调优、上下文管理和多渠道部署

概览

发布者Happy-Technologies-LLC
代码仓库happy-platform-skills
技能名称now-assist-qa
星标数
41
复刻数
14
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Happy-Technologies-LLC 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Now Assist Qa AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/now-assist-qa
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/genai/now-assist-qa .claude/skills/now-assist-qa
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Now Assist Qa,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Now Assist Qa。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Now Assist Qa 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Now Assist Q&A Configuration

Overview

This skill covers configuring ServiceNow Now Assist Q&A for conversational AI assistance:

  • Setting up Now Assist skills for Q&A across different contexts (agent, employee, developer)
  • Configuring knowledge sources that feed conversational responses
  • Tuning response quality through prompt engineering and LLM parameters
  • Managing conversation context and multi-turn dialogue
  • Deploying Now Assist panels in Workspace, Portal, and Mobile
  • Monitoring response quality through feedback analysis
  • Integrating with AI Search for retrieval-augmented answers

When to use: When enabling AI-powered Q&A for agents, employees, or customers through Now Assist, configuring knowledge-grounded responses, or tuning conversational AI quality.

Prerequisites

  • Roles: now_assist_admin, admin
  • Plugins: sn_now_assist (Now Assist), com.snc.generative_ai_controller (Generative AI Controller), sn_gen_ai (Generative AI)
  • Access: sn_now_assist_skill, sn_now_assist_skill_config, sn_gen_ai_config tables
  • Knowledge: Understanding of LLM concepts (prompts, temperature, tokens), knowledge management
  • Related Skills: genai/ai-search-rag for search configuration, genai/skill-kit-custom for custom skills

Procedure

Step 1: Assess Current Now Assist Configuration

Query existing Now Assist skills and their status.

MCP Approach:

Use SN-Query-Table on sn_now_assist_skill:
  - query: active=true
  - fields: sys_id,name,description,skill_type,context,active,status
  - limit: 20

Check existing skill configurations:

Use SN-Query-Table on sn_now_assist_skill_config:
  - query: active=true
  - fields: sys_id,skill,name,config_type,value
  - limit: 50

REST Approach:

GET /api/now/table/sn_now_assist_skill
  ?sysparm_query=active=true
  &sysparm_fields=sys_id,name,description,skill_type,context,active
  &sysparm_limit=20

Step 2: Configure Now Assist Q&A Skill

Agent-Facing Q&A Skill:

MCP Approach:

Use SN-Create-Record on sn_now_assist_skill:
  - name: "IT Agent Q&A"
  - description: "Provides AI-powered answers to IT agent questions from knowledge bases and resolved incidents"
  - skill_type: "qa"
  - context: "agent_workspace"
  - active: true
  - status: "draft"
  - knowledge_sources: "<kb_sys_id_1>,<kb_sys_id_2>"
  - enable_rag: true
  - response_mode: "generative"

REST Approach:

POST /api/now/table/sn_now_assist_skill
Body: {
  "name": "IT Agent Q&A",
  "description": "Provides AI-powered answers to IT agent questions from knowledge bases",
  "skill_type": "qa",
  "context": "agent_workspace",
  "active": true,
  "status": "draft",
  "enable_rag": true,
  "response_mode": "generative"
}

Employee-Facing Q&A Skill:

Use SN-Create-Record on sn_now_assist_skill:
  - name: "Employee Self-Service Q&A"
  - description: "AI answers for common employee IT and HR questions"
  - skill_type: "qa"
  - context: "employee_portal"
  - active: true
  - status: "draft"
  - knowledge_sources: "<it_kb_sys_id>,<hr_kb_sys_id>"
  - enable_rag: true
  - response_mode: "generative"
  - fallback_action: "create_incident"

Context options for Now Assist skills:

ContextValueDescription
Agent Workspaceagent_workspaceIT agents in workspace UI
Employee Portalemployee_portalSelf-service employee portal
Customer Portalcustomer_portalExternal customer-facing
MobilemobileServiceNow mobile app
Virtual Agentvirtual_agentVA conversation channel
PlatformplatformPlatform-wide availability

Step 3: Configure Knowledge Sources

Link knowledge bases to the Q&A skill for grounded responses.

MCP Approach:

Use SN-Query-Table on kb_knowledge_base:
  - query: active=true
  - fields: sys_id,title,description,kb_version
  - limit: 20

Associate knowledge bases with the skill:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "knowledge_source_1"
  - config_type: "knowledge_base"
  - value: "<kb_sys_id>"
  - active: true
  - order: 100
Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "knowledge_source_2"
  - config_type: "knowledge_base"
  - value: "<hr_kb_sys_id>"
  - active: true
  - order: 200

Configure knowledge filtering:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "kb_filter"
  - config_type: "knowledge_filter"
  - value: "workflow_state=published^valid_to>=javascript:gs.now()"
  - active: true

Step 4: Configure LLM Parameters

Set up the generative AI parameters for response generation.

MCP Approach:

Use SN-Create-Record on sn_gen_ai_config:
  - name: "Now Assist Q&A LLM Config"
  - description: "LLM parameters for Now Assist Q&A responses"
  - active: true
  - llm_provider: "now_llm"
  - model: "default"
  - temperature: 0.3
  - max_tokens: 400
  - top_p: 0.9
  - frequency_penalty: 0.1
  - presence_penalty: 0.1

REST Approach:

POST /api/now/table/sn_gen_ai_config
Body: {
  "name": "Now Assist Q&A LLM Config",
  "active": true,
  "llm_provider": "now_llm",
  "temperature": 0.3,
  "max_tokens": 400,
  "top_p": 0.9
}

Link LLM config to skill:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "llm_config"
  - config_type: "gen_ai_config"
  - value: "<gen_ai_config_sys_id>"
  - active: true

Step 5: Configure System Prompts

System prompts guide LLM behavior for Q&A responses.

MCP Approach:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "system_prompt"
  - config_type: "prompt"
  - value: |
      You are an IT support assistant for {company_name}. Your role is to help agents
      find answers to technical questions using the provided knowledge base content.

      Guidelines:
      - Only answer based on the provided context. Do not make up information.
      - If the context does not contain a clear answer, say "I don't have enough
        information to answer this question" and suggest creating a knowledge article.
      - Always cite the source knowledge article by title.
      - Keep answers concise and actionable, using bullet points for steps.
      - If the question involves a specific incident, reference relevant fields.
      - Never reveal internal system details, credentials, or sensitive data.
  - active: true

Prompt template variables:

VariableDescriptionExample
{company_name}Customer organization nameAcme Corp
{user_name}Current user's nameJohn Smith
{user_role}Current user's primary roleITIL Agent
{context_record}Current record being viewedINC0012345
{knowledge_context}Retrieved knowledge content(injected by RAG)
{conversation_history}Previous turns in dialogue(auto-populated)

Step 6: Configure Now Assist Panel

Set up where and how the Now Assist panel appears.

MCP Approach:

Use SN-Create-Record on sn_now_assist_panel_config:
  - name: "Agent Workspace Q&A Panel"
  - description: "Now Assist Q&A panel for IT agent workspace"
  - active: true
  - context: "agent_workspace"
  - skills: "<qa_skill_sys_id>"
  - position: "right_sidebar"
  - auto_open: false
  - show_feedback: true
  - show_sources: true
  - max_conversation_turns: 10
  - greeting_message: "Hi! I can help you find answers from our knowledge base. What would you like to know?"

REST Approach:

POST /api/now/table/sn_now_assist_panel_config
Body: {
  "name": "Agent Workspace Q&A Panel",
  "active": true,
  "context": "agent_workspace",
  "skills": "<qa_skill_sys_id>",
  "position": "right_sidebar",
  "show_feedback": true,
  "show_sources": true
}

Step 7: Configure Conversation Context

Set up how conversation context is managed for multi-turn dialogues.

MCP Approach:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "context_config"
  - config_type: "context"
  - value: '{
      "max_history_turns": 5,
      "include_record_context": true,
      "record_fields": ["short_description", "description", "priority", "category", "assignment_group"],
      "context_window_tokens": 3000,
      "clear_on_record_change": true
    }'
  - active: true

Step 8: Set Up Response Quality Guardrails

MCP Approach:

Use SN-Create-Record on sn_now_assist_skill_config:
  - skill: "<qa_skill_sys_id>"
  - name: "guardrails"
  - config_type: "safety"
  - value: '{
      "require_knowledge_grounding": true,
      "min_confidence_score": 0.65,
      "block_pii_in_response": true,
      "max_response_length": 500,
      "prohibited_topics": ["salary", "termination", "legal_advice"],
      "fallback_message": "I am not able to answer this question. Please contact your IT service desk for assistance.",
      "enable_content_filtering": true
    }'
  - active: true

Step 9: Activate and Deploy

MCP Approach:

Use SN-Update-Record on sn_now_assist_skill:
  - sys_id: "<qa_skill_sys_id>"
  - status: "published"
  - active: true

Verify configuration is complete:

Use SN-Query-Table on sn_now_assist_skill_config:
  - query: skill=<qa_skill_sys_id>^active=true
  - fields: name,config_type,active
  - limit: 20

Verify panel is active:

Use SN-Query-Table on sn_now_assist_panel_config:
  - query: skills=<qa_skill_sys_id>^active=true
  - fields: name,context,position,active

Step 10: Monitor and Tune Response Quality

Query feedback data:

Use SN-Query-Table on sn_now_assist_feedback:
  - query: skill=<qa_skill_sys_id>^sys_created_on>javascript:gs.daysAgo(7)
  - fields: sys_id,query,response,rating,feedback_text,user
  - limit: 50
  - orderBy: sys_created_on
  - orderDirection: desc

Analyze negative feedback patterns:

Use SN-Query-Table on sn_now_assist_feedback:
  - query: skill=<qa_skill_sys_id>^rating<3
  - fields: query,response,rating,feedback_text
  - limit: 20

Adjust based on feedback:

Use SN-Update-Record on sn_gen_ai_config:
  - sys_id: "<gen_ai_config_sys_id>"
  - temperature: 0.2
  - max_tokens: 500

Tool Usage

ToolPurposeWhen to Use
SN-Query-TableFind existing skills, configs, feedbackDiscovery and monitoring
SN-Create-RecordCreate skills, configs, panel settingsInitial setup
SN-Update-RecordTune LLM params, activate skillsOptimization and deployment
SN-Get-Table-SchemaDiscover config table fieldsUnderstanding available settings

Best Practices

  1. Start with a single knowledge base and expand sources incrementally as quality is validated
  2. Use low temperature (0.2-0.4) for Q&A to keep responses factual and grounded
  3. Write specific system prompts that define the assistant's role, boundaries, and response format
  4. Enable citation display so users can verify answers against source material
  5. Set confidence thresholds conservatively (0.65+) and adjust based on feedback
  6. Include record context when the Q&A skill is used alongside incidents or cases
  7. Limit conversation history to 5-7 turns to manage token usage and context relevance
  8. Block PII in responses to prevent accidental exposure of sensitive data
  9. Monitor feedback weekly and address patterns of negative ratings promptly
  10. Test with real user queries from support tickets to validate response quality before launch

Troubleshooting

IssueCauseResolution
Now Assist panel not visiblePanel config inactive or wrong contextVerify sn_now_assist_panel_config.active=true and context matches UI
Responses are generic/unhelpfulKnowledge sources not linked or emptyCheck skill_config knowledge_base entries and verify KB has published articles
Hallucinated answersTemperature too high or no grounding requirementLower temperature, set require_knowledge_grounding=true
Response cut off mid-sentencemax_tokens too lowIncrease max_tokens in sn_gen_ai_config (400-600 recommended)
Slow response timeToo many knowledge sources or large context windowReduce search sources, lower context_window_tokens
Skill not triggeringSkill status is draft or inactivePublish and activate the skill
Feedback not collectedshow_feedback disabled on panelSet show_feedback=true in panel config
Wrong knowledge base searchedKB filter conditions too broad or missingAdd specific kb_knowledge_base filter in knowledge_filter config

Examples

Example 1: IT Agent Q&A in Workspace

Configure Now Assist Q&A for ITSM agents:

  • Skill: Agent workspace context, linked to IT Knowledge Base and resolved incidents
  • System Prompt: IT support assistant, answers from KB only, cites sources, suggests escalation paths
  • LLM Config: Temperature 0.3, max 400 tokens, now_llm provider
  • Panel: Right sidebar, auto-open disabled, feedback enabled, shows 3 source citations
  • Context: Include incident short_description, description, priority, category from viewed record
  • Guardrails: Require knowledge grounding, block PII, min confidence 0.7

Example 2: Employee Self-Service Q&A

Configure Now Assist for employee portal self-service:

  • Skill: Employee portal context, linked to IT FAQ KB and HR Policy KB
  • System Prompt: Friendly employee assistant, provides step-by-step guidance, offers catalog links
  • LLM Config: Temperature 0.4, max 500 tokens for more detailed self-service instructions
  • Panel: Embedded in portal search, greeting message, max 5 conversation turns
  • Fallback: If confidence below 0.6, suggest creating an incident or browsing catalog
  • Guardrails: Block salary/termination topics, require KB grounding, content filtering enabled

Example 3: CSM Agent Q&A for Customer Support

Configure Now Assist for customer service management agents:

  • Skill: Agent workspace context for CSM, linked to product KB and customer solutions KB
  • System Prompt: Customer support specialist, professional tone, includes troubleshooting steps
  • LLM Config: Temperature 0.2 for precise technical answers, max 400 tokens
  • Context: Include case short_description, product, account, priority from current case
  • Panel: Right sidebar with auto-open on case creation, feedback and sources visible
  • Guardrails: Prohibit sharing internal pricing, SLA details, or customer data from other accounts

Related Skills

  • genai/ai-search-rag - AI Search configuration that powers Q&A knowledge retrieval
  • genai/skill-kit-custom - Creating custom Now Assist skills beyond Q&A
  • genai/flow-generation - Flows that can be triggered from Q&A fallback actions
  • knowledge/article-generation - Managing knowledge content quality for better Q&A

常见问题

Now Assist Qa AI 技能有什么作用?

配置 Now Assist Q&A,以提供对话式 AI 辅助功能,包括技能配置、知识来源设置、回复质量调优、上下文管理和多渠道部署

为什么在 TypingMind 中使用 Now Assist Qa?

因为您只需安装一次,就能搭配任何模型使用。Now Assist Qa 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Now Assist Qa?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/genai/now-assist-qa。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Now Assist Qa?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Now Assist Qa 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Now Assist Qa 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Now Assist Qa AI 技能免费吗?

是的。Happy-Technologies-LLC 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇