mb-rag 1.1.63__py3-none-any.whl → 1.1.64__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.
- mb_rag/prompts_bank.py +13 -1
- mb_rag/version.py +1 -1
- {mb_rag-1.1.63.dist-info → mb_rag-1.1.64.dist-info}/METADATA +1 -1
- {mb_rag-1.1.63.dist-info → mb_rag-1.1.64.dist-info}/RECORD +6 -6
- {mb_rag-1.1.63.dist-info → mb_rag-1.1.64.dist-info}/WHEEL +0 -0
- {mb_rag-1.1.63.dist-info → mb_rag-1.1.64.dist-info}/top_level.txt +0 -0
mb_rag/prompts_bank.py
CHANGED
|
@@ -34,7 +34,19 @@ Assistant: Goodbye! Have a great day!""",
|
|
|
34
34
|
Human: Please create a to-do list for the following task: {task}
|
|
35
35
|
Assistant:""",
|
|
36
36
|
|
|
37
|
-
"map_function": "*map(lambda x: image_url, baseframes_list)"
|
|
37
|
+
"map_function": "*map(lambda x: image_url, baseframes_list)",
|
|
38
|
+
|
|
39
|
+
"SQL_AGENT_SYS_PROMPT": """You are an expert SQL agent. Your task is to generate and execute SQL queries based on user requests.
|
|
40
|
+
RULES:
|
|
41
|
+
- THINK step by step before answering.
|
|
42
|
+
- Use the provided database schema to inform your queries.
|
|
43
|
+
- When you need to retrieve data, generate a SQL query and execute it using the provided tools.
|
|
44
|
+
- Read-only mode: Do not attempt to modify the database.
|
|
45
|
+
- NO INSERT/UPDATE/DELETE/ALTER/DROP/CREATE/REPLACE/TRUNCATE statements allowed.
|
|
46
|
+
- LIMIT your results to 10 rows. Unless specified otherwise.
|
|
47
|
+
- If you encounter an error while executing a query, analyze the error message and adjust your query accordingly.
|
|
48
|
+
- Prefer using explicit column names instead of SELECT * for better performance.
|
|
49
|
+
- Always ensure your SQL syntax is correct. """
|
|
38
50
|
}
|
|
39
51
|
|
|
40
52
|
def get_template(self, name: str) -> str:
|
mb_rag/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
mb_rag/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
mb_rag/basic.py,sha256=83ZOfj-nc1kV5OOuWTi2o760sqPB_v9M4fF9WPlbM9o,15149
|
|
3
|
-
mb_rag/prompts_bank.py,sha256=
|
|
4
|
-
mb_rag/version.py,sha256=
|
|
3
|
+
mb_rag/prompts_bank.py,sha256=NOY-a_0FyRvWpVuAiP6KFEPIgNLR-kVxQqNzGiqmq0c,2868
|
|
4
|
+
mb_rag/version.py,sha256=0I-AGP8H-6XPb7DUSmz5LqaNl9RjWW9Caubjh7VQ9b8,207
|
|
5
5
|
mb_rag/chatbot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
mb_rag/chatbot/chains.py,sha256=vDbLX5R29sWN1pcFqJ5fyxJEgMCM81JAikunAEvMC9A,7223
|
|
7
7
|
mb_rag/chatbot/conversation.py,sha256=6EsQ5U5KVgXqRU5mX2tellZHia9aA0_QLeytJFyewpg,6994
|
|
@@ -13,7 +13,7 @@ mb_rag/utils/bounding_box.py,sha256=G0hdDam8QmYtD9lfwMeDHGm-TTo6KZg-yK5ESFL9zaM,
|
|
|
13
13
|
mb_rag/utils/document_extract.py,sha256=vZiFB1RYm1BIEaNA0MveJ5Zp-KEi0ngKjW8xEdtPqXA,12558
|
|
14
14
|
mb_rag/utils/extra.py,sha256=spbFrGgdruNyYQ5PzgvpSIa6Nm0rn9bb4qc8W9g582o,2492
|
|
15
15
|
mb_rag/utils/pdf_extract.py,sha256=cVeMyhnAU4XZxjIZHKMYhrktTjUNOjhx2r_LZKReOZE,15598
|
|
16
|
-
mb_rag-1.1.
|
|
17
|
-
mb_rag-1.1.
|
|
18
|
-
mb_rag-1.1.
|
|
19
|
-
mb_rag-1.1.
|
|
16
|
+
mb_rag-1.1.64.dist-info/METADATA,sha256=RyEURUE7Wc2OQuCDlWayEFCVpPPNa3YbFDABvqEQU8Y,234
|
|
17
|
+
mb_rag-1.1.64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
18
|
+
mb_rag-1.1.64.dist-info/top_level.txt,sha256=FIK1eAa5uYnurgXZquBG-s3PIy-HDTC5yJBW4lTH_pM,7
|
|
19
|
+
mb_rag-1.1.64.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|