File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/pipelines/unstructured_to_sql_on_the_fly Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ def structure_on_the_fly(
190
190
model = model_locator ,
191
191
temperature = temperature ,
192
192
max_tokens = max_tokens ,
193
- retry_strategy = pw .asynchronous .ExponentialBackoffRetryStrategy (),
194
- cache_strategy = pw .asynchronous .DefaultCache (),
193
+ retry_strategy = pw .udfs .ExponentialBackoffRetryStrategy (),
194
+ cache_strategy = pw .udfs .DefaultCache (),
195
195
)
196
196
197
197
responses = prompt .select (
@@ -233,8 +233,8 @@ def unstructured_query(
233
233
model = model_locator ,
234
234
temperature = temperature ,
235
235
max_tokens = max_tokens ,
236
- retry_strategy = pw .asynchronous .ExponentialBackoffRetryStrategy (),
237
- cache_strategy = pw .asynchronous .DefaultCache (),
236
+ retry_strategy = pw .udfs .ExponentialBackoffRetryStrategy (),
237
+ cache_strategy = pw .udfs .DefaultCache (),
238
238
)
239
239
240
240
query += query .select (
You can’t perform that action at this time.
0 commit comments