pragneshbarik commited on
Commit
67b695a
1 Parent(s): 350a755

fixed errors

Browse files
Files changed (1) hide show
  1. middlewares/utils.py +1 -4
middlewares/utils.py CHANGED
@@ -1,6 +1,5 @@
1
  from sentence_transformers import CrossEncoder
2
- from pprint import pformat
3
- from notion_client import Client
4
  import json
5
  import math
6
  import numpy as np
@@ -72,7 +71,6 @@ def gen_augmented_prompt_via_websearch(
72
  chunk_size=512,
73
  ):
74
 
75
- notion_data= get_notion_data()
76
 
77
  search_results = []
78
  reranked_results = []
@@ -102,7 +100,6 @@ def gen_augmented_prompt_via_websearch(
102
 
103
  {context}
104
 
105
- {notion_data}
106
 
107
  {post_context}
108
 
 
1
  from sentence_transformers import CrossEncoder
2
+
 
3
  import json
4
  import math
5
  import numpy as np
 
71
  chunk_size=512,
72
  ):
73
 
 
74
 
75
  search_results = []
76
  reranked_results = []
 
100
 
101
  {context}
102
 
 
103
 
104
  {post_context}
105