kolzchut-ragbot 1.1.2__py3-none-any.whl → 1.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kolzchut_ragbot/engine.py +1 -1
- {kolzchut_ragbot-1.1.2.dist-info → kolzchut_ragbot-1.1.3.dist-info}/METADATA +1 -1
- {kolzchut_ragbot-1.1.2.dist-info → kolzchut_ragbot-1.1.3.dist-info}/RECORD +5 -5
- {kolzchut_ragbot-1.1.2.dist-info → kolzchut_ragbot-1.1.3.dist-info}/WHEEL +0 -0
- {kolzchut_ragbot-1.1.2.dist-info → kolzchut_ragbot-1.1.3.dist-info}/top_level.txt +0 -0
kolzchut_ragbot/engine.py
CHANGED
|
@@ -199,7 +199,7 @@ class Engine:
|
|
|
199
199
|
for fused_id in fused_ids:
|
|
200
200
|
for doc in all_docs:
|
|
201
201
|
if doc["_source"]["page_id"] == fused_id and doc["_source"]["title"] not in top_titles:
|
|
202
|
-
top_k_documents.append(
|
|
202
|
+
top_k_documents.append(doc["_source"])
|
|
203
203
|
top_titles.append(doc["_source"]["title"])
|
|
204
204
|
break
|
|
205
205
|
if len(top_titles) >= top_k:
|
|
@@ -2,10 +2,10 @@ kolzchut_ragbot/Document.py,sha256=ySawnD06HA0zHjHp4Y_CPjMMZqLp8onaEgd1dGP5sbs,3
|
|
|
2
2
|
kolzchut_ragbot/IntegrateService.py,sha256=CqB9vW6W5oj6Ig3crEa6hXqwro21z97UaG9ngxFTzYs,100
|
|
3
3
|
kolzchut_ragbot/__init__.py,sha256=KKAc2xjCl5Aui2Cj0FWyvJ51nmnFv7MspLMqOYb-QHA,26
|
|
4
4
|
kolzchut_ragbot/config.py,sha256=pcKVJVJ8P2YximjTrmVlrocHXSmzmNu_DFzNoPLa22E,138
|
|
5
|
-
kolzchut_ragbot/engine.py,sha256=
|
|
5
|
+
kolzchut_ragbot/engine.py,sha256=LQSYaDCjWZSVQui28hVWpfArkwRgxCG36BDNv9j4tTA,10162
|
|
6
6
|
kolzchut_ragbot/llm_client.py,sha256=q_cUZq645P7i1PliYzpJRTWlsoSECVIhE-y9wU5eRtQ,352
|
|
7
7
|
kolzchut_ragbot/model.py,sha256=H-p5KQRlauBWXqFqcikjDwK8pbRmnqpqwy35ZAc8hQI,6505
|
|
8
|
-
kolzchut_ragbot-1.1.
|
|
9
|
-
kolzchut_ragbot-1.1.
|
|
10
|
-
kolzchut_ragbot-1.1.
|
|
11
|
-
kolzchut_ragbot-1.1.
|
|
8
|
+
kolzchut_ragbot-1.1.3.dist-info/METADATA,sha256=sfZmgYmg12fBjViJa124hUCh1wlK6uWrzLZ8dy3Yfvo,2023
|
|
9
|
+
kolzchut_ragbot-1.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
10
|
+
kolzchut_ragbot-1.1.3.dist-info/top_level.txt,sha256=NTZoY4GGw3v_7jm0MgcdHw8simoZ78PsR7Meqmkgd_Q,16
|
|
11
|
+
kolzchut_ragbot-1.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|