kolzchut-ragbot 1.1.2__tar.gz → 1.1.3__tar.gz

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.
Files changed (21) hide show
  1. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/PKG-INFO +1 -1
  2. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/engine.py +1 -1
  3. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot.egg-info/PKG-INFO +1 -1
  4. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/setup.py +1 -1
  5. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/README.md +0 -0
  6. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/Document.py +0 -0
  7. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/IntegrateService.py +0 -0
  8. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/__init__.py +0 -0
  9. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/config.py +0 -0
  10. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/llm_client.py +0 -0
  11. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot/model.py +0 -0
  12. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot.egg-info/SOURCES.txt +0 -0
  13. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot.egg-info/dependency_links.txt +0 -0
  14. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot.egg-info/requires.txt +0 -0
  15. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/kolzchut_ragbot.egg-info/top_level.txt +0 -0
  16. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/pyproject.toml +0 -0
  17. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/setup.cfg +0 -0
  18. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/test/test_configs.py +0 -0
  19. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/test/test_document.py +0 -0
  20. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/test/test_engine.py +0 -0
  21. {kolzchut_ragbot-1.1.2 → kolzchut_ragbot-1.1.3}/test/test_model.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kolzchut-ragbot
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: A search engine using machine learning models and Elasticsearch for advanced document retrieval.
5
5
  Home-page: https://github.com/shmuelrob/ragbot
6
6
  Author: Shmuel Robinov
@@ -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({"doc":doc["_source"], "score":doc["_score"]})
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: kolzchut-ragbot
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: A search engine using machine learning models and Elasticsearch for advanced document retrieval.
5
5
  Home-page: https://github.com/shmuelrob/ragbot
6
6
  Author: Shmuel Robinov
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='kolzchut-ragbot',
5
- version='1.1.2',
5
+ version='1.1.3',
6
6
  author='Shmuel Robinov',
7
7
  author_email='shmuel_robinov@webiks.com',
8
8
  description='A search engine using machine learning models and Elasticsearch for advanced document retrieval.',