{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "How to Set Up an Empathetic AI Assistant: System Prompts, RAG and TTS",
    "canonical_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-11-22T00:00:00+00:00"
  },
  "summary": "",
  "topics": [
    "эмпатичный ИИ-ассистент",
    "системный промпт для ИИ",
    "RAG для чат-бота",
    "TTS озвучка ИИ",
    "настройка ИИ-компаньона"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "эмпатичный ИИ-ассистент",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "системный промпт для ИИ",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "RAG для чат-бота",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "TTS озвучка ИИ",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "настройка ИИ-компаньона",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "Python",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E7",
      "name": "OpenAI",
      "type": "компания",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-KAKNASTROI-001",
      "statement": "set -a; source .env; set +a python3 build_index.py python3 rag_chat.py \"how many days until the refund\" > reply.txt python3 speak.py Details and verification are in the steps below.",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "set -a; source .env; set +a python3 build_index.py python3 rag_chat.py \"how many days until the refund\" > reply.txt python3 speak.py Details and verification are in the steps below."
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-002",
      "statement": "Empathy is not a property of the model — it is the result of three independent layers stacked over a single chat-completions call. Three layers, three files, and nothing else:",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "Empathy is not a property of the model — it is the result of three independent layers stacked over a single chat-completions call. Three layers, three files, and nothing else:"
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-003",
      "statement": "Data flow of a single turn:",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "Data flow of a single turn:"
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-004",
      "statement": "user utterance -> embed(query) [embeddings endpoint] -> cosine top-4 over index/chunks.json [local, ~1 ms] -> persona.txt + \"Notes you may cite:\" [string concat] -> /chat/completions [chat model] -> answer text -> sentence split -> TTS_CMD…",
      "claim_type": "guide_fact",
      "confidence": "editorial_assessment",
      "source_type": "анализ AI Release",
      "verification_status": "editorial_analysis",
      "source_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
      "article_anchor": "#kratko-dlya-ii",
      "evidence_excerpt": "user utterance -> embed(query) [embeddings endpoint] -> cosine top-4 over index/chunks.json [local, ~1 ms] -> persona.txt + \"Notes you may cite:\" [string concat] -> /chat/completions [chat model] -> answer text -> sentence split -> TTS_CMD…"
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "How to Set Up an Empathetic AI Assistant: System Prompts, RAG and TTS",
      "claim_id": "AR-GUIDE-KAKNASTROI-001"
    },
    {
      "subject": "Guide",
      "predicate": "includes step",
      "object": "Step 1. Write the persona system prompt and a chat wrapper",
      "claim_id": "AR-GUIDE-KAKNASTROI-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "How to do it?",
      "answer": "Step 1. Write the persona system prompt and a chat wrapper → Step 2. Build the RAG index and wire in TTS → Step 3. Run the end-to-end check and confirm quality",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-004"
      ],
      "article_anchor": "#step-1"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "эмпатичный ИИ-ассистент, системный промпт для ИИ, RAG для чат-бота, TTS озвучка ИИ, настройка ИИ-компаньона",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-002"
      ],
      "article_anchor": "#entities"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Как настроить эмпатичного ИИ-ассистента: системные промпты, RAG и TTS для естественного общения. https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
    "canonical_url": "https://ai-release.org/guides/kak-nastroit-empatichnogo-ii-assistenta-sistemnye-promp_en.html",
    "publisher": "AI Release"
  }
}