@@ -80,8 +80,8 @@ def __str__(self):
8080 return self .get_function_json ()
8181
8282 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.
8585
8686 Example:
8787 @app.route(route="http_trigger")
@@ -342,8 +342,8 @@ def decorator():
342342 return wrap
343343
344344 def _get_durable_blueprint (self ):
345- """Attempt to import the Durable Functions SDK from which DF decorators are
346- implemented.
345+ """Attempt to import the Durable Functions SDK from which DF
346+ decorators are implemented.
347347 """
348348
349349 try :
@@ -3276,6 +3276,8 @@ def assistant_query_input(self,
32763276 arg_name : str ,
32773277 id : str ,
32783278 timestamp_utc : str ,
3279+ chat_storage_connection_setting : Optional [str ] = "AzureWebJobsStorage" , # noqa: E501
3280+ collection_name : Optional [str ] = "ChatState" , # noqa: E501
32793281 data_type : Optional [
32803282 Union [DataType , str ]] = None ,
32813283 ** kwargs ) \
@@ -3288,6 +3290,11 @@ def assistant_query_input(self,
32883290 :param timestamp_utc: the timestamp of the earliest message in the chat
32893291 history to fetch. The timestamp should be in ISO 8601 format - for
32903292 example, 2023-08-01T00:00:00Z.
3293+ :param chat_storage_connection_setting: The configuration section name
3294+ for the table settings for assistant chat storage. The default value is
3295+ "AzureWebJobsStorage".
3296+ :param collection_name: The table collection name for assistant chat
3297+ storage. The default value is "ChatState".
32913298 :param id: The ID of the Assistant to query.
32923299 :param data_type: Defines how Functions runtime should treat the
32933300 parameter value
@@ -3305,6 +3312,8 @@ def decorator():
33053312 name = arg_name ,
33063313 id = id ,
33073314 timestamp_utc = timestamp_utc ,
3315+ chat_storage_connection_setting = chat_storage_connection_setting , # noqa: E501
3316+ collection_name = collection_name ,
33083317 data_type = parse_singular_param_to_enum (data_type ,
33093318 DataType ),
33103319 ** kwargs ))
@@ -3318,6 +3327,8 @@ def assistant_post_input(self, arg_name: str,
33183327 id : str ,
33193328 user_message : str ,
33203329 model : Optional [str ] = None ,
3330+ chat_storage_connection_setting : Optional [str ] = "AzureWebJobsStorage" , # noqa: E501
3331+ collection_name : Optional [str ] = "ChatState" , # noqa: E501
33213332 data_type : Optional [
33223333 Union [DataType , str ]] = None ,
33233334 ** kwargs ) \
@@ -3331,6 +3342,11 @@ def assistant_post_input(self, arg_name: str,
33313342 :param user_message: The user message that user has entered for
33323343 assistant to respond to.
33333344 :param model: The OpenAI chat model to use.
3345+ :param chat_storage_connection_setting: The configuration section name
3346+ for the table settings for assistant chat storage. The default value is
3347+ "AzureWebJobsStorage".
3348+ :param collection_name: The table collection name for assistant chat
3349+ storage. The default value is "ChatState".
33343350 :param data_type: Defines how Functions runtime should treat the
33353351 parameter value
33363352 :param kwargs: Keyword arguments for specifying additional binding
@@ -3348,6 +3364,8 @@ def decorator():
33483364 id = id ,
33493365 user_message = user_message ,
33503366 model = model ,
3367+ chat_storage_connection_setting = chat_storage_connection_setting , # noqa: E501
3368+ collection_name = collection_name ,
33513369 data_type = parse_singular_param_to_enum (data_type ,
33523370 DataType ),
33533371 ** kwargs ))
0 commit comments