This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
forked from MDGrey33/Nur
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added initial version of scenario for knowledge gaps
- Loading branch information
Showing
4 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# 5. Gamification (cross-concern). Asking questions rewarded with seeker points. When you question was unanswered you get revealer points during knowledge gap discovery. Luminary points are given to those who answer knowledge gap questions | ||
# 5. Gamification (cross-concern). | ||
# Asking questions rewarded with seeker points. | ||
# When you question was unanswered you get revealer points during knowledge gap discovery. | ||
# Luminary points are given to those who answer knowledge gap questions | ||
|
||
Feature: Gamification | ||
|
||
Scenario: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
# 4. Identify knowledge gaps. Use CLI -> initiate the process by selecting a topic -> it then uses embeddings and OpenAI to select unanswered questions about that topic -> unanswered questions are posted to specific slack channel -> users can answer them in threads -> bookmarked conversations are uploaded to Confluence (dedicated space). | ||
# 4. Identify knowledge gaps. | ||
# Use CLI -> initiate the process by selecting a topic -> | ||
# it then uses embeddings and OpenAI to select unanswered questions about that topic -> | ||
# unanswered questions are posted to specific slack channel -> users can answer them in threads -> | ||
# bookmarked conversations are uploaded to Confluence (dedicated space). | ||
|
||
# Ask NOT DX question ("What power superman has?"). | ||
# Wait for answer in thread. | ||
# TA should answer that it has no context about it. | ||
# Check qa_interactions table about this question exists. | ||
|
||
# Go to MAIN console menu: | ||
|
||
# press 3 (Create a vector db for interactions) | ||
# check that all rows in qa_interactions table have last_embeded and embed filled in. | ||
|
||
# Go to MAIN console menu: | ||
|
||
# press 5 (Identify knowledge gaps) | ||
# enter "superman" | ||
# TA should post a message in topassist-dev-knowledge-gap channel | ||
# check that quiz_questions last row has a thread_id | ||
|
||
# Use white_check_mark emoji on TA message | ||
|
||
# check that user in user_scores table appears and has filled luminary_score eq 1 | ||
|
||
Feature: Knowledge gaps | ||
|
||
Scenario: TopAssist initiates conversations for unanswered questions | ||
Given there are no answers for question "What power superman has?" | ||
When I run CLI command "main.py knowledge-gap superman" | ||
Then listener asks OpenAI for embeddings for the given phrase | ||
And corresponding unanswered questions are found in the database | ||
And thread "What power superman has?" is created in #topassist-dev-knowledge-gap channel | ||
When I reply in the thread with: "Flying" | ||
And I react to that reply with :bookmark: | ||
Then the conversation is being uploaded to dedicated confluence space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters