From 655ee43c35b63a844ab9d3e46e6553b32703011c Mon Sep 17 00:00:00 2001 From: Prompt Lab Date: Thu, 14 May 2026 16:45:37 +0000 Subject: [PATCH] Add prompt registry demo --- README.md | 3 +++ prompts/call_quality_score/metadata.yaml | 6 ++++++ prompts/call_quality_score/v1.md | 3 +++ prompts/call_quality_score/v2.md | 3 +++ tests/transcripts/sample_001.txt | 3 +++ 5 files changed, 18 insertions(+) create mode 100644 README.md create mode 100644 prompts/call_quality_score/metadata.yaml create mode 100644 prompts/call_quality_score/v1.md create mode 100644 prompts/call_quality_score/v2.md create mode 100644 tests/transcripts/sample_001.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..498d65a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# prompt-registry-demo + +Демо Git-реестр промптов для prompt-lab. diff --git a/prompts/call_quality_score/metadata.yaml b/prompts/call_quality_score/metadata.yaml new file mode 100644 index 0000000..a507d1b --- /dev/null +++ b/prompts/call_quality_score/metadata.yaml @@ -0,0 +1,6 @@ +key: call_quality_score +owner: prompt-lab +production: v2 +environments: + production: v2 + staging: v1 diff --git a/prompts/call_quality_score/v1.md b/prompts/call_quality_score/v1.md new file mode 100644 index 0000000..93dd04f --- /dev/null +++ b/prompts/call_quality_score/v1.md @@ -0,0 +1,3 @@ +# call_quality_score v1 + +Оцени качество звонка от 1 до 5 и верни краткое резюме. diff --git a/prompts/call_quality_score/v2.md b/prompts/call_quality_score/v2.md new file mode 100644 index 0000000..4d4d15b --- /dev/null +++ b/prompts/call_quality_score/v2.md @@ -0,0 +1,3 @@ +# call_quality_score v2 + +Оцени качество звонка, эмпатию и решение проблемы. Верни JSON. diff --git a/tests/transcripts/sample_001.txt b/tests/transcripts/sample_001.txt new file mode 100644 index 0000000..f0e9dfa --- /dev/null +++ b/tests/transcripts/sample_001.txt @@ -0,0 +1,3 @@ +Agent: Hello, thank you for calling support. +Customer: My invoice is higher than expected. +Agent: I can explain the usage spike and one-time setup fee.