stackraise 0.1.0__py3-none-any.whl → 0.1.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.
stackraise/ai/rpa.py CHANGED
@@ -178,13 +178,20 @@ class Rpa[C, R]: # TODO: RpaBase
178
178
  *[get_oai_tool_schema(tool) for tool in self._oai_tool_classes],
179
179
  ]
180
180
 
181
+ user_input: list[ResponseInputParam] = [
182
+ {
183
+ "type": "text",
184
+ "text": ctx.make_prompt(),
185
+ }
186
+ ]
187
+
188
+ for file in ctx.get_files():
189
+ user_input.append(await self._oai_create_file_content(file))
190
+
181
191
  input: list[ResponseInputParam] = [
182
192
  {
183
193
  "role": "user",
184
- "content": [
185
- await self._oai_create_file_content(file)
186
- for file in ctx.get_files()
187
- ],
194
+ "content": user_input,
188
195
  },
189
196
  ]
190
197
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackraise
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary:
5
5
  Author: J.David Luque
6
6
  Author-email: jdluque@leitat.org
@@ -1,6 +1,6 @@
1
1
  stackraise/__init__.py,sha256=T6LUkt1rdxY_zoFU2CgBaEG0bDBLRy6Nf9uv6d6dnKQ,119
2
2
  stackraise/ai/__init__.py,sha256=SXz7CzvgQHiAbnsFvyKBsTmH1QpuXrlZg3o2kDQHLbw,41
3
- stackraise/ai/rpa.py,sha256=sSZTpW_OlsOR2312cI-ttuh9GsggZoyXxJOZyZY2CT4,12371
3
+ stackraise/ai/rpa.py,sha256=wR97S6XuqQMhiyRrkNLSDzztYbdjfgjqjsbQsCt3YZ4,12527
4
4
  stackraise/ai/toolset.py,sha256=iOIpuin_hpR6WGjj1DqHme2Lb-0HEba-lW-cIOwkCR8,6997
5
5
  stackraise/app.py,sha256=toyeotSU_XL2U0Se8mCtp8tM61omehs34jFoBzV52L8,631
6
6
  stackraise/auth/__init__.py,sha256=MzHWdMbPciCE17HfZx_Irr-lax8swtL85W_IubFqIGY,64
@@ -47,6 +47,6 @@ stackraise/templating/pptx/__init__.py,sha256=nfC9DiY6QWGZ83grgInEYbTgZDKBu2DqOl
47
47
  stackraise/templating/pptx/pptx_engine.py,sha256=Ykb25fkJSvYrAzADPVSgQ_R6v558JzJETkpbo8wTz68,8916
48
48
  stackraise/templating/pptx/slide_renderer.py,sha256=5jGisi-_Fy8iTGgszGRObTbqzaOKD_5LdzLw8uEil0E,7149
49
49
  stackraise/templating/tracer.py,sha256=tJdBHWDyRVnAgtES26t26elgx8DdNVZKhAnP-ts0FhY,2214
50
- stackraise-0.1.0.dist-info/METADATA,sha256=zXm3qLkPezeeA8W18ZG3CbTVE6tlkffo53divcuejwI,1243
51
- stackraise-0.1.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
52
- stackraise-0.1.0.dist-info/RECORD,,
50
+ stackraise-0.1.2.dist-info/METADATA,sha256=h6FEqsO5Sy3XjA-U2CYxAm_hLaNprTHMbud85Hh2b98,1243
51
+ stackraise-0.1.2.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
52
+ stackraise-0.1.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.1
2
+ Generator: poetry-core 2.3.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any