Update qa_store.py
Browse files- qa_store.py +4 -0
qa_store.py
CHANGED
|
@@ -20,6 +20,10 @@ ALL_QA_KNOWLEDGE: List[Dict[str, Any]] = []
|
|
| 20 |
# Counter for new manual IDs
|
| 21 |
NEXT_MANUAL_ID: int = 1
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
def normalize_question(q: str) -> str:
|
| 25 |
"""
|
|
|
|
| 20 |
# Counter for new manual IDs
|
| 21 |
NEXT_MANUAL_ID: int = 1
|
| 22 |
|
| 23 |
+
# Embeddings for textbook entries (one vector per ENTRIES item)
|
| 24 |
+
TEXT_EMBEDDINGS = None # will be a torch.Tensor or None
|
| 25 |
+
|
| 26 |
+
|
| 27 |
|
| 28 |
def normalize_question(q: str) -> str:
|
| 29 |
"""
|