From a0d54b67cd822d0ca47c85103f067d1abf200c26 Mon Sep 17 00:00:00 2001 From: cs_lucky Date: Thu, 7 Dec 2023 11:16:49 +0800 Subject: [PATCH 1/3] update docs --- docs/reference/tools-reference/llm-tool.md | 10 ++++++---- docs/reference/tools-reference/openai-gpt-4v-tool.md | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/reference/tools-reference/llm-tool.md b/docs/reference/tools-reference/llm-tool.md index 8d4c112301e..87059eb0643 100644 --- a/docs/reference/tools-reference/llm-tool.md +++ b/docs/reference/tools-reference/llm-tool.md @@ -50,7 +50,7 @@ Setup connections to provisioned resources in prompt flow. | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | | best\_of | integer | the number of best completions to generate. Default is 1. | No | | logit\_bias | dictionary | the logit bias for the language model. Default is empty dictionary. | No | - +| user | string | a unique identifier representing your end-user. Default is empty string. | No | ### Chat @@ -65,10 +65,12 @@ Setup connections to provisioned resources in prompt flow. | stop | list | the stopping sequence for the generated text. Default is null. | No | | top_p | float | the probability of using the top choice from the generated tokens. Default is 1. | No | | presence\_penalty | float | value that controls the model's behavior with regards to repeating phrases. Default is 0. | No | -| frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | +| frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0.| No | | logit\_bias | dictionary | the logit bias for the language model. Default is empty dictionary. | No | - - +| user | string | a unique identifier representing your end-user. Default is empty string. | No | +| function\_call | object | value that controls which function is called by the model. Default is null. | No | +| functions | list | a list of functions the model may generate JSON inputs for. Default is null. | No | +| response_format | string | an object specifying the format that the model must output. Default is null. | No | ## Outputs diff --git a/docs/reference/tools-reference/openai-gpt-4v-tool.md b/docs/reference/tools-reference/openai-gpt-4v-tool.md index f5dee3b0d13..06ca80d2eb9 100644 --- a/docs/reference/tools-reference/openai-gpt-4v-tool.md +++ b/docs/reference/tools-reference/openai-gpt-4v-tool.md @@ -35,6 +35,7 @@ Setup connections to provisioned resources in prompt flow. | top_p | float | the probability of using the top choice from the generated tokens. Default is 1. | No | | presence\_penalty | float | value that controls the model's behavior with regards to repeating phrases. Default is 0. | No | | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | +| response_format | string | an object specifying the format that the model must output. Default is null. | No | ## Outputs From b5bba21f343f98f4a43eeb121ab3b6826a1b6557 Mon Sep 17 00:00:00 2001 From: cs_lucky Date: Mon, 11 Dec 2023 17:02:17 +0800 Subject: [PATCH 2/3] fix comments --- docs/reference/tools-reference/llm-tool.md | 4 +--- docs/reference/tools-reference/openai-gpt-4v-tool.md | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/reference/tools-reference/llm-tool.md b/docs/reference/tools-reference/llm-tool.md index 87059eb0643..fcb932382cc 100644 --- a/docs/reference/tools-reference/llm-tool.md +++ b/docs/reference/tools-reference/llm-tool.md @@ -50,7 +50,6 @@ Setup connections to provisioned resources in prompt flow. | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | | best\_of | integer | the number of best completions to generate. Default is 1. | No | | logit\_bias | dictionary | the logit bias for the language model. Default is empty dictionary. | No | -| user | string | a unique identifier representing your end-user. Default is empty string. | No | ### Chat @@ -67,10 +66,9 @@ Setup connections to provisioned resources in prompt flow. | presence\_penalty | float | value that controls the model's behavior with regards to repeating phrases. Default is 0. | No | | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0.| No | | logit\_bias | dictionary | the logit bias for the language model. Default is empty dictionary. | No | -| user | string | a unique identifier representing your end-user. Default is empty string. | No | | function\_call | object | value that controls which function is called by the model. Default is null. | No | | functions | list | a list of functions the model may generate JSON inputs for. Default is null. | No | -| response_format | string | an object specifying the format that the model must output. Default is null. | No | +| response_format | object | an object specifying the format that the model must output. Default is null. | No | ## Outputs diff --git a/docs/reference/tools-reference/openai-gpt-4v-tool.md b/docs/reference/tools-reference/openai-gpt-4v-tool.md index 06ca80d2eb9..59ab1062ad4 100644 --- a/docs/reference/tools-reference/openai-gpt-4v-tool.md +++ b/docs/reference/tools-reference/openai-gpt-4v-tool.md @@ -35,7 +35,7 @@ Setup connections to provisioned resources in prompt flow. | top_p | float | the probability of using the top choice from the generated tokens. Default is 1. | No | | presence\_penalty | float | value that controls the model's behavior with regards to repeating phrases. Default is 0. | No | | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | -| response_format | string | an object specifying the format that the model must output. Default is null. | No | +| response_format | object | an object specifying the format that the model must output. Default is null. | No | ## Outputs From 15242005f2f18399954721d71132eaa8fa9ac21e Mon Sep 17 00:00:00 2001 From: chenslucky <75061414+chenslucky@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:00:19 +0800 Subject: [PATCH 3/3] Update openai-gpt-4v-tool.md --- docs/reference/tools-reference/openai-gpt-4v-tool.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/reference/tools-reference/openai-gpt-4v-tool.md b/docs/reference/tools-reference/openai-gpt-4v-tool.md index 59ab1062ad4..f5dee3b0d13 100644 --- a/docs/reference/tools-reference/openai-gpt-4v-tool.md +++ b/docs/reference/tools-reference/openai-gpt-4v-tool.md @@ -35,7 +35,6 @@ Setup connections to provisioned resources in prompt flow. | top_p | float | the probability of using the top choice from the generated tokens. Default is 1. | No | | presence\_penalty | float | value that controls the model's behavior with regards to repeating phrases. Default is 0. | No | | frequency\_penalty | float | value that controls the model's behavior with regards to generating rare phrases. Default is 0. | No | -| response_format | object | an object specifying the format that the model must output. Default is null. | No | ## Outputs