@@ -80,8 +80,8 @@ def __str__(self):
80
80
return self .get_function_json ()
81
81
82
82
def __call__ (self , * args , ** kwargs ):
83
- """This would allow the Function object to be directly callable and runnable
84
- directly using the interpreter locally.
83
+ """This would allow the Function object to be directly callable
84
+ and runnable directly using the interpreter locally.
85
85
86
86
Example:
87
87
@app.route(route="http_trigger")
@@ -332,8 +332,8 @@ def decorator():
332
332
return wrap
333
333
334
334
def _get_durable_blueprint (self ):
335
- """Attempt to import the Durable Functions SDK from which DF decorators are
336
- implemented.
335
+ """Attempt to import the Durable Functions SDK from which DF
336
+ decorators are implemented.
337
337
"""
338
338
339
339
try :
@@ -3266,6 +3266,8 @@ def assistant_query_input(self,
3266
3266
arg_name : str ,
3267
3267
id : str ,
3268
3268
timestamp_utc : str ,
3269
+ chat_storage_connection_setting : Optional [str ] = "AzureWebJobsStorage" , # noqa: E501
3270
+ collection_name : Optional [str ] = "ChatState" , # noqa: E501
3269
3271
data_type : Optional [
3270
3272
Union [DataType , str ]] = None ,
3271
3273
** kwargs ) \
@@ -3278,6 +3280,11 @@ def assistant_query_input(self,
3278
3280
:param timestamp_utc: the timestamp of the earliest message in the chat
3279
3281
history to fetch. The timestamp should be in ISO 8601 format - for
3280
3282
example, 2023-08-01T00:00:00Z.
3283
+ :param chat_storage_connection_setting: The configuration section name
3284
+ for the table settings for assistant chat storage. The default value is
3285
+ "AzureWebJobsStorage".
3286
+ :param collection_name: The table collection name for assistant chat
3287
+ storage. The default value is "ChatState".
3281
3288
:param id: The ID of the Assistant to query.
3282
3289
:param data_type: Defines how Functions runtime should treat the
3283
3290
parameter value
@@ -3295,6 +3302,8 @@ def decorator():
3295
3302
name = arg_name ,
3296
3303
id = id ,
3297
3304
timestamp_utc = timestamp_utc ,
3305
+ chat_storage_connection_setting = chat_storage_connection_setting , # noqa: E501
3306
+ collection_name = collection_name ,
3298
3307
data_type = parse_singular_param_to_enum (data_type ,
3299
3308
DataType ),
3300
3309
** kwargs ))
@@ -3308,6 +3317,8 @@ def assistant_post_input(self, arg_name: str,
3308
3317
id : str ,
3309
3318
user_message : str ,
3310
3319
model : Optional [str ] = None ,
3320
+ chat_storage_connection_setting : Optional [str ] = "AzureWebJobsStorage" , # noqa: E501
3321
+ collection_name : Optional [str ] = "ChatState" , # noqa: E501
3311
3322
data_type : Optional [
3312
3323
Union [DataType , str ]] = None ,
3313
3324
** kwargs ) \
@@ -3321,6 +3332,11 @@ def assistant_post_input(self, arg_name: str,
3321
3332
:param user_message: The user message that user has entered for
3322
3333
assistant to respond to.
3323
3334
:param model: The OpenAI chat model to use.
3335
+ :param chat_storage_connection_setting: The configuration section name
3336
+ for the table settings for assistant chat storage. The default value is
3337
+ "AzureWebJobsStorage".
3338
+ :param collection_name: The table collection name for assistant chat
3339
+ storage. The default value is "ChatState".
3324
3340
:param data_type: Defines how Functions runtime should treat the
3325
3341
parameter value
3326
3342
:param kwargs: Keyword arguments for specifying additional binding
@@ -3338,6 +3354,8 @@ def decorator():
3338
3354
id = id ,
3339
3355
user_message = user_message ,
3340
3356
model = model ,
3357
+ chat_storage_connection_setting = chat_storage_connection_setting , # noqa: E501
3358
+ collection_name = collection_name ,
3341
3359
data_type = parse_singular_param_to_enum (data_type ,
3342
3360
DataType ),
3343
3361
** kwargs ))
0 commit comments