unique_toolkit 1.34.0__py3-none-any.whl → 1.34.1__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.
@@ -11,27 +11,41 @@ DEFAULT_TOOL_DESCRIPTION = "Use this tool to run python code, e.g to generate pl
11
11
 
12
12
  DEFAULT_TOOL_DESCRIPTION_FOR_SYSTEM_PROMPT = """
13
13
  Use this tool to run python code, e.g to generate plots, process excel files, perform calculations, etc.
14
+
14
15
  Instructions:
15
- - All files uploaded to the chat are available in the code interpreter under the path `/mnt/data/<filename>
16
- - All files generated through code should be saved in the `/mnt/data` folder
17
16
 
18
- CRUCIAL Instructions for displaying images and files in the chat:
19
- Once files are generated in the `/mnt/data` folder you MUST reference them in the chat using markdown syntax in order to display them in the chat.
17
+ Uploaded and generated files:
18
+ - All files uploaded to the chat are available at the path `/mnt/data/<filename>`.
19
+ - All files generated through code MUST be saved in the `/mnt/data` folder.
20
20
 
21
+ CRUCIAL Instructions for displaying images and files in the chat:
22
+ - Once files are generated in the `/mnt/data` folder you MUST reference them in the chat using markdown syntax in order to display them in the chat.
21
23
  WHENEVER you reference a generated file, you MUST use the following format:
22
24
  ```
23
- **Descriptive Title of Graph/Chart/File** (<- linebreak is important) (You must choose a good user friendly title, Other markdown syntax such as `#` can be used too)
25
+ **Descriptive Title of Graph/Chart/File** (linebreak is important. You must choose a good user friendly title, Other markdown syntax such as `#` can be used too)
24
26
  [*Generating your {Graph/Chart/File}…*](sandbox:/mnt/data/<filename>)
25
27
  ```
26
28
  IMPORTANT: Do NOT append a leading `!` even when displaying an image.
27
29
  Always use a line break between the title and the markdown!
28
-
29
30
  - Files with image file extensions are displayed directly in the chat, while other file extensions are shown as download links.
30
31
  - Not using syntax above will FAIL to show images to the user.
31
32
  - YOU MUST use the syntax above to display images, otherwise the image will not be displayed in the chat.
32
33
  - Only the following file types are allowed to be uploaded to the platform, anything else will FAIL: PDF, DOCX, XLSX, PPTX, CSV, HTML, MD, TXT, PNG, JPG, JPEG.
34
+ - You MUST always use this syntax, otherwise the files will not be displayed in the chat.
35
+
36
+
37
+ # Displaying Dataframes/Tables:
38
+ - Whenever asked to display a dataframe/table, it is CRITICAL to represent it faithfully as a markdown table in your response.
33
39
 
34
- You MUST always use this syntax, otherwise the files will not be displayed in the chat.
40
+ Handling User Queries:
41
+ - Whenever the user query requires using the python tool, you must always think first about the steps required.
42
+ - Use the tool multiple times:
43
+ - You MUST NOT guess anything about the structure of the data / files uploaded. Rather, you MUST perform some data exploration first.
44
+ - Example: User uploads an excel files and asks a question about it. First Read the data, explore the columns, columns types, etc. Then use the tool to answer the user's query.
45
+ In this case, you can simply call the tool multiple times.
46
+ - REMEMBER that you can always read the content of text, csv files if needed. In this case, you MUST always limit the amount of data displayed.
47
+ - If a tool step fails, you must recover as much as possible.
48
+ - After exhausting all possible solutions without success, inform the user of what was tried and request clarification/help.
35
49
  """.strip()
36
50
 
37
51
  DEFAULT_TOOL_FORMAT_INFORMATION_FOR_SYSTEM_PROMPT = ""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.34.0
3
+ Version: 1.34.1
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -121,6 +121,9 @@ All notable changes to this project will be documented in this file.
121
121
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
122
122
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
123
123
 
124
+ ## [1.34.1] - 2025-12-02
125
+ - Update code interpreter tool instructions.
126
+
124
127
  ## [1.34.0] - 2025-12-02
125
128
  - Add option to upload code interpreter generated files to the chat.
126
129
 
@@ -108,7 +108,7 @@ unique_toolkit/agentic/tools/mcp/tool_wrapper.py,sha256=m1-Uf0pSM5SoEKsxm9WqBsPR
108
108
  unique_toolkit/agentic/tools/openai_builtin/__init__.py,sha256=NdVjkTa3LbW-JHhzPRjinTmgOCtEv090Zr9jGZXmgqs,345
109
109
  unique_toolkit/agentic/tools/openai_builtin/base.py,sha256=qtUtv-iyid4GpTRKU7IwWuY_OCPHLKEi9x7MCftyLG0,1178
110
110
  unique_toolkit/agentic/tools/openai_builtin/code_interpreter/__init__.py,sha256=w2vONpnC6hKRPoJGwzDuRtNBsQd_o-gMUqArgIl_5KY,305
111
- unique_toolkit/agentic/tools/openai_builtin/code_interpreter/config.py,sha256=FdmVd4VeAv0E4CiZdPeZcODDYnmmSB4e_YQesIW8rU0,4266
111
+ unique_toolkit/agentic/tools/openai_builtin/code_interpreter/config.py,sha256=GS0WLrAo0lCW7d4ih5wheskNG7AsdXsbwEYEESX4K60,5327
112
112
  unique_toolkit/agentic/tools/openai_builtin/code_interpreter/service.py,sha256=XXBBEUI9tKa8z1HCpv-lwKx3pSEEPeL1RUx9LGGPS04,8007
113
113
  unique_toolkit/agentic/tools/openai_builtin/manager.py,sha256=QeDVgLfnCXrSmXI3b9bgQa9oyfQe_L15wa_YfhfNe9E,2633
114
114
  unique_toolkit/agentic/tools/schemas.py,sha256=TXshRvivr2hD-McXHumO0bp-Z0mz_GnAmQRiVjT59rU,5025
@@ -199,7 +199,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
199
199
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
200
200
  unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
201
201
  unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
202
- unique_toolkit-1.34.0.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
203
- unique_toolkit-1.34.0.dist-info/METADATA,sha256=DNDLgni0ur55-wGblbTjZqzJpFMKfx_IsWIfwWD5Lvk,45523
204
- unique_toolkit-1.34.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
205
- unique_toolkit-1.34.0.dist-info/RECORD,,
202
+ unique_toolkit-1.34.1.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
203
+ unique_toolkit-1.34.1.dist-info/METADATA,sha256=Ebl8qfOh2p3WyhNkml3We-HIKFemQ6goX9hDjoC8jEo,45594
204
+ unique_toolkit-1.34.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
205
+ unique_toolkit-1.34.1.dist-info/RECORD,,