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(
190190 model = model_locator ,
191191 temperature = temperature ,
192192 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 (),
195195 )
196196
197197 responses = prompt .select (
@@ -233,8 +233,8 @@ def unstructured_query(
233233 model = model_locator ,
234234 temperature = temperature ,
235235 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 (),
238238 )
239239
240240 query += query .select (
You can’t perform that action at this time.
0 commit comments