Skip to content

Commit 397505e

Browse files
committed
add deprecation information
1 parent 859fe88 commit 397505e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

azure/functions/decorators/function_app.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3243,6 +3243,8 @@ def text_completion_input(self,
32433243
:param arg_name: The name of binding parameter in the function code.
32443244
:param prompt: The prompt to generate completions for, encoded as a
32453245
string.
3246+
:param model: @deprecated. Use chat_model instead. The model parameter
3247+
is unused and will be removed in future versions.
32463248
:param chat_model: The deployment name or model name of OpenAI Chat
32473249
Completion API. The default value is "gpt-3.5-turbo".
32483250
:param temperature: The sampling temperature to use, between 0 and 2.
@@ -3397,6 +3399,8 @@ def assistant_post_input(self, arg_name: str,
33973399
:param id: The ID of the assistant to update.
33983400
:param user_message: The user message that user has entered for
33993401
assistant to respond to.
3402+
:param model: @deprecated. Use chat_model instead. The model parameter
3403+
is unused and will be removed in future versions.
34003404
:param chat_model: The deployment name or model name of OpenAI Chat
34013405
Completion API. The default value is "gpt-3.5-turbo".
34023406
:param chat_storage_connection_setting: The configuration section name
@@ -3474,6 +3478,8 @@ def embeddings_input(self,
34743478
:param input: The input source containing the data to generate
34753479
embeddings for.
34763480
:param input_type: The type of the input.
3481+
:param model: @deprecated. Use embeddings_model instead. The model
3482+
parameter is unused and will be removed in future versions.
34773483
:param embeddings_model: The deployment name or model name for OpenAI
34783484
Embeddings. The default value is "text-embedding-ada-002".
34793485
:param max_chunk_length: The maximum number of characters to chunk the
@@ -3634,6 +3640,8 @@ def embeddings_store_output(self,
36343640
:param store_connection_name: The name of an app setting or environment
36353641
variable which contains a vectore store connection setting value
36363642
:param collection: The collection or table to search.
3643+
:param model: @deprecated. Use embeddings_model instead. The model
3644+
parameter is unused and will be removed in future versions.
36373645
:param embeddings_model: The deployment name or model name for OpenAI
36383646
Embeddings. The default value is "text-embedding-ada-002".
36393647
:param max_chunk_length: The maximum number of characters to chunk the

0 commit comments

Comments
 (0)