osbot-utils 2.49.0__py3-none-any.whl → 2.50.0__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.
@@ -43,6 +43,7 @@ class LLM_Request__Builder(Type_Safe):
43
43
  def set__model (self, model : Safe_Str__Text): self.llm_request_data.model = model ; return self
44
44
  def set__platform (self, platform: Safe_Str__Text): self.llm_request_data.platform = platform; return self
45
45
  def set__provider (self, provider: Safe_Str__Text): self.llm_request_data.provider = provider; return self
46
+ def set__model__gpt_4o (self ): return self.set__model('gpt-4o' )
46
47
  def set__model__gpt_4o_mini(self ): return self.set__model('gpt-4o-mini')
47
48
 
48
49
  @type_safe
@@ -3,11 +3,8 @@ from osbot_utils.decorators.methods.cache_on_self import cache
3
3
  from osbot_utils.helpers.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
4
4
  from osbot_utils.type_safe.Type_Safe import Type_Safe
5
5
  from osbot_utils.type_safe.decorators.type_safe import type_safe
6
- from osbot_utils.utils.Files import current_temp_folder, path_combine_safe, folder_create, file_exists, folder_exists, file_delete, file_name_without_extension, parent_folder, create_folder, files_recursive
7
- from osbot_utils.utils.Json import json_save_file, json_load_file, json_file_load
8
-
9
- FOLDER_NAME__CACHE_IN_TEMP_FOLDER = '_llm_requests_cache'
10
- FILE_NAME__CACHE_INDEX = "cache_index.json"
6
+ from osbot_utils.utils.Files import current_temp_folder, path_combine_safe, folder_create, file_exists, folder_exists, file_delete, parent_folder, create_folder, files_recursive
7
+ from osbot_utils.utils.Json import json_save_file, json_load_file
11
8
 
12
9
  class Virtual_Storage__Local__Folder(Type_Safe):
13
10
 
osbot_utils/version CHANGED
@@ -1 +1 @@
1
- v2.49.0
1
+ v2.50.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: osbot_utils
3
- Version: 2.49.0
3
+ Version: 2.50.0
4
4
  Summary: OWASP Security Bot - Utils
5
5
  License: MIT
6
6
  Author: Dinis Cruz
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
23
23
 
24
24
  Powerful Python util methods and classes that simplify common apis and tasks.
25
25
 
26
- ![Current Release](https://img.shields.io/badge/release-v2.49.0-blue)
26
+ ![Current Release](https://img.shields.io/badge/release-v2.50.0-blue)
27
27
  [![codecov](https://codecov.io/gh/owasp-sbot/OSBot-Utils/graph/badge.svg?token=GNVW0COX1N)](https://codecov.io/gh/owasp-sbot/OSBot-Utils)
28
28
 
29
29
 
@@ -193,7 +193,7 @@ osbot_utils/helpers/llms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
193
193
  osbot_utils/helpers/llms/actions/LLM_Request__Execute.py,sha256=IsC5gzQXG__j5M2dSWVCmV77Kf133pKbZRvbiQyeihU,2453
194
194
  osbot_utils/helpers/llms/actions/Type_Safe__Schema_For__LLMs.py,sha256=em9RoSZqSSo6BQBZvEKH8Qv8f8f8oubNpy0LIDsak-E,12024
195
195
  osbot_utils/helpers/llms/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
196
- osbot_utils/helpers/llms/builders/LLM_Request__Builder.py,sha256=c8MN66ijFn9DugbBIGmG0bm9ujS-0kvZDGqJcZsHHYc,3385
196
+ osbot_utils/helpers/llms/builders/LLM_Request__Builder.py,sha256=PvLvDdZsvwb_W5Na0JUyQpboX00-6lrP3lEXnaHs79E,3488
197
197
  osbot_utils/helpers/llms/builders/LLM_Request__Builder__Open_AI.py,sha256=JwyPDeBUQd70Ltm801y5qvS883IIC7TcfG04D3LWdGI,3430
198
198
  osbot_utils/helpers/llms/builders/LLM_Request__Factory.py,sha256=bpFXVTKpalBL7ZONjaHU5c0-2Rwzzd2vgdD1FpYxfGw,6291
199
199
  osbot_utils/helpers/llms/builders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -201,7 +201,7 @@ osbot_utils/helpers/llms/cache/LLM_Cache__Path_Generator.py,sha256=7kDY-aaUWR4Da
201
201
  osbot_utils/helpers/llms/cache/LLM_Request__Cache.py,sha256=jvJFA4dCN7keoRuk6AjTNoePuUVh01iohPntN-vY5tg,7689
202
202
  osbot_utils/helpers/llms/cache/LLM_Request__Cache__File_System.py,sha256=BWuWDZw-V2uamEJ39clWu9Jox63uaSHGdY6EIrkYw34,15497
203
203
  osbot_utils/helpers/llms/cache/LLM_Request__Cache__Storage.py,sha256=0ok7z2kGiK3edlgD0hwD5z2hYFZ91Viar1JgD7SNoxg,5434
204
- osbot_utils/helpers/llms/cache/Virtual_Storage__Local__Folder.py,sha256=xNM2xy0-2ROvhEFXa_jwqth7eApIcRTqcRUDxo0THXI,3214
204
+ osbot_utils/helpers/llms/cache/Virtual_Storage__Local__Folder.py,sha256=-ggOMO2wu8T1qIK4tWdxkZtbZ3zTdPZTtToo0LG8zYg,3055
205
205
  osbot_utils/helpers/llms/cache/Virtual_Storage__Sqlite.py,sha256=j8EWuKFVMtDBxrCEi8yNdpzwvTxO6Bri2Bi4-KwO-3s,4638
206
206
  osbot_utils/helpers/llms/cache/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
207
207
  osbot_utils/helpers/llms/platforms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -398,8 +398,8 @@ osbot_utils/utils/Toml.py,sha256=Rxl8gx7mni5CvBAK-Ai02EKw-GwtJdd3yeHT2kMloik,166
398
398
  osbot_utils/utils/Version.py,sha256=Ww6ChwTxqp1QAcxOnztkTicShlcx6fbNsWX5xausHrg,422
399
399
  osbot_utils/utils/Zip.py,sha256=pR6sKliUY0KZXmqNzKY2frfW-YVQEVbLKiyqQX_lc-8,14052
400
400
  osbot_utils/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
401
- osbot_utils/version,sha256=CEEqca0ZjNxCEaFWjMBPEzMYD-uTK0eU1OOL2KYaxeU,8
402
- osbot_utils-2.49.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
403
- osbot_utils-2.49.0.dist-info/METADATA,sha256=kb3h0ATFkDrSd2TNuiPd3fHfUP5xkGEP6H4a5E3r6RE,1329
404
- osbot_utils-2.49.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
405
- osbot_utils-2.49.0.dist-info/RECORD,,
401
+ osbot_utils/version,sha256=Sfic_5AyOSvZdVnIKvXbhV3Vki85TkZrpIBGHX2vAQA,8
402
+ osbot_utils-2.50.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
403
+ osbot_utils-2.50.0.dist-info/METADATA,sha256=AJO3NhBL-2s1dY3nJYW5RuxwKzhdojBmN50ymQ99frk,1329
404
+ osbot_utils-2.50.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
405
+ osbot_utils-2.50.0.dist-info/RECORD,,