Anshul Prasad commited on
Commit ·
7bffe75
1
Parent(s): 7957b13
fix.
Browse files
main.py
CHANGED
|
@@ -88,7 +88,7 @@ def main() -> None:
|
|
| 88 |
|
| 89 |
embedding(transcripts, TRANSCRIPT_INDEX, CHUNKS_PKL)
|
| 90 |
|
| 91 |
-
retrieved = stage_retrieve(query
|
| 92 |
if not retrieved:
|
| 93 |
return
|
| 94 |
|
|
@@ -102,7 +102,6 @@ def main() -> None:
|
|
| 102 |
|
| 103 |
logger.info("Full_context: %d tokens, %d words", count_tokens(full_context), len(full_context.split(" ")), )
|
| 104 |
logger.info("Limit_context: %d tokens, %d words", count_tokens(limit_context), len(limit_context.split(" ")))
|
| 105 |
-
# retrieved = stage_retrieve(query)
|
| 106 |
|
| 107 |
|
| 108 |
if __name__ == "__main__":
|
|
|
|
| 88 |
|
| 89 |
embedding(transcripts, TRANSCRIPT_INDEX, CHUNKS_PKL)
|
| 90 |
|
| 91 |
+
retrieved = stage_retrieve(query)
|
| 92 |
if not retrieved:
|
| 93 |
return
|
| 94 |
|
|
|
|
| 102 |
|
| 103 |
logger.info("Full_context: %d tokens, %d words", count_tokens(full_context), len(full_context.split(" ")), )
|
| 104 |
logger.info("Limit_context: %d tokens, %d words", count_tokens(limit_context), len(limit_context.split(" ")))
|
|
|
|
| 105 |
|
| 106 |
|
| 107 |
if __name__ == "__main__":
|