Heng2004 commited on
Commit
7ced8a6
Β·
verified Β·
1 Parent(s): 0432f8b

Update qa_store.py

Browse files
Files changed (1) hide show
  1. qa_store.py +4 -0
qa_store.py CHANGED
@@ -24,6 +24,10 @@ NEXT_MANUAL_ID: int = 1
24
  # Will be set to a torch.Tensor by _build_entry_embeddings() in model_utils.py
25
  TEXT_EMBEDDINGS = None
26
 
 
 
 
 
27
 
28
  def normalize_question(q: str) -> str:
29
  """
 
24
  # Will be set to a torch.Tensor by _build_entry_embeddings() in model_utils.py
25
  TEXT_EMBEDDINGS = None
26
 
27
+ # πŸ‘‡ Add these for glossary
28
+ GLOSSARY = [] # list of glossary items (dicts)
29
+ GLOSSARY_EMBEDDINGS = None # numpy array of embeddings, same size as GLOSSARY
30
+
31
 
32
  def normalize_question(q: str) -> str:
33
  """