django-spire 0.17.1__py3-none-any.whl → 0.17.2__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.
@@ -1,6 +1,6 @@
1
1
  from __future__ import annotations
2
2
 
3
- from dandy import Bot, LlmConfigOptions
3
+ from dandy import Bot, LlmConfigOptions, recorder_to_html_file
4
4
 
5
5
  from django_spire.ai.prompt.system import prompts
6
6
  from django_spire.ai.prompt.system import intel
@@ -60,15 +60,15 @@ class SystemPromptBot(Bot):
60
60
  guidelines_bot = GuidelinesSystemPromptBot()
61
61
  output_format_bot = OutputFormatSystemPromptBot()
62
62
 
63
- role_future = role_bot.process_to_future(user_story)
64
- task_future = task_bot.process_to_future(user_story)
65
- guidelines_future = guidelines_bot.process_to_future(user_story)
66
- output_format_future = output_format_bot.process_to_future(user_story)
63
+ # role_future = role_bot.process_to_future(user_story)
64
+ # task_future = task_bot.process_to_future(user_story)
65
+ # guidelines_future = guidelines_bot.process_to_future(user_story)
66
+ # output_format_future = output_format_bot.process_to_future(user_story)
67
67
 
68
- role = role_future.result
69
- task = task_future.result
70
- guidelines = guidelines_future.result
71
- output_format = output_format_future.result
68
+ role = role_bot.process(user_story)
69
+ task = task_bot.process(user_story)
70
+ guidelines = guidelines_bot.process(user_story)
71
+ output_format = output_format_bot.process(user_story)
72
72
 
73
73
  return SystemPromptIntel(
74
74
  role=role.result,
django_spire/consts.py CHANGED
@@ -1,4 +1,4 @@
1
- __VERSION__ = '0.17.1'
1
+ __VERSION__ = '0.17.2'
2
2
 
3
3
 
4
4
  AI_CHAT_WORKFLOW_SENDER_SETTINGS_NAME = 'AI_CHAT_WORKFLOW_NAME'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-spire
3
- Version: 0.17.1
3
+ Version: 0.17.2
4
4
  Summary: A project for Django Spire
5
5
  Author-email: Brayden Carlson <braydenc@stratusadv.com>, Nathan Johnson <nathanj@stratusadv.com>
6
6
  License: Copyright (c) 2024 Stratus Advanced Technologies and Contributors.
@@ -48,7 +48,7 @@ License-File: LICENSE.md
48
48
  Requires-Dist: boto3>=1.34.0
49
49
  Requires-Dist: botocore>=1.34.0
50
50
  Requires-Dist: crispy-bootstrap5==2024.10
51
- Requires-Dist: dandy==1.1.0
51
+ Requires-Dist: dandy==1.1.2
52
52
  Requires-Dist: django>=5.1.8
53
53
  Requires-Dist: django-crispy-forms==2.3
54
54
  Requires-Dist: django-glue>=0.8.1
@@ -1,6 +1,6 @@
1
1
  django_spire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  django_spire/conf.py,sha256=EYC1hXqYqheYrb_b6Q93LrSgNl91JV633E4N5j-KGTo,1012
3
- django_spire/consts.py,sha256=OZWVVkyHmTiy_6lNgmeAJAedfpjT64zQzYfPdZwTjg8,390
3
+ django_spire/consts.py,sha256=Odz5gEKCZA69khacAP5BT2hpe_nlJ5JA9f2EFViqG1A,390
4
4
  django_spire/exceptions.py,sha256=L5ndRO5ftMmh0pHkO2z_NG3LSGZviJ-dDHNT73SzTNw,48
5
5
  django_spire/settings.py,sha256=tGxgEri3TQRBaiwX7YRcWifMf_g1xv1RznplFR6zZnI,821
6
6
  django_spire/urls.py,sha256=mKeZszb5U4iIGqddMb5Tt5fRC72U2wABEOi6mvOfEBU,656
@@ -76,7 +76,7 @@ django_spire/ai/prompt/intel.py,sha256=_R0CVYbAKK0Yt-hDuqTQ6GO9f8NuypdTMjnIEcodY
76
76
  django_spire/ai/prompt/prompts.py,sha256=9zSxB8xGgeut5wHRKQNBBe7cbM1Oddx4v_tlGx2HRYE,4501
77
77
  django_spire/ai/prompt/text_to_prompt_cli.py,sha256=JCybqfz0W3OC1AMXYOQY-MRklIEM51Cbs-tx0ceUvdc,193
78
78
  django_spire/ai/prompt/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
- django_spire/ai/prompt/system/bots.py,sha256=zPvUrURRGPWkh3Ws89fPTpGe7QQEossW0Gc5SW5ygX8,2771
79
+ django_spire/ai/prompt/system/bots.py,sha256=w1Y3Ggnoc-clfUzeGxcILOmSDwPcTHdCvJ4n-65-C74,2842
80
80
  django_spire/ai/prompt/system/intel.py,sha256=FYlZML66cL9tFHLMePKi1WAPkRlpHl6XlAbcaKCVX_c,836
81
81
  django_spire/ai/prompt/system/prompts.py,sha256=pjz3S_rfFeqgGvDjIj_qJ7faE3-N1RvZhyZ7l0bN6-Q,7632
82
82
  django_spire/ai/prompt/system/system_prompt_cli.py,sha256=ymO4yB9TLCguc38qYUTf2ouKAheOFy-Uz2tqre-Ay_w,1283
@@ -1095,8 +1095,8 @@ django_spire/theme/urls/page_urls.py,sha256=S8nkKkgbhG3XHI3uMUL-piOjXIrRkuY2UlM_
1095
1095
  django_spire/theme/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1096
1096
  django_spire/theme/views/json_views.py,sha256=W1khC2K_EMbEzAFmMxC_P76_MFnkRH4-eVdodrRfAhw,1904
1097
1097
  django_spire/theme/views/page_views.py,sha256=pHr8iekjtR99xs7w1taj35HEo133Svq1dvDD0y0VL1c,3933
1098
- django_spire-0.17.1.dist-info/licenses/LICENSE.md,sha256=tlTbOtgKoy-xAQpUk9gPeh9O4oRXCOzoWdW3jJz0wnA,1091
1099
- django_spire-0.17.1.dist-info/METADATA,sha256=TRZJFfU9itNrxHhw4T0ODV43rqFJa1g7dtsk4ZZX3KQ,4936
1100
- django_spire-0.17.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1101
- django_spire-0.17.1.dist-info/top_level.txt,sha256=xf3QV1e--ONkVpgMDQE9iqjQ1Vg4--_6C8wmO-KxPHQ,13
1102
- django_spire-0.17.1.dist-info/RECORD,,
1098
+ django_spire-0.17.2.dist-info/licenses/LICENSE.md,sha256=tlTbOtgKoy-xAQpUk9gPeh9O4oRXCOzoWdW3jJz0wnA,1091
1099
+ django_spire-0.17.2.dist-info/METADATA,sha256=bOFYjXjbxDI8AYLhRJ8ReFqfWhbehdLKgzLvHQqL0YY,4936
1100
+ django_spire-0.17.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1101
+ django_spire-0.17.2.dist-info/top_level.txt,sha256=xf3QV1e--ONkVpgMDQE9iqjQ1Vg4--_6C8wmO-KxPHQ,13
1102
+ django_spire-0.17.2.dist-info/RECORD,,