Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tools documents about openai parameters #1414

Merged
merged 4 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docs/reference/tools-reference/llm-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
chenslucky marked this conversation as resolved.
Show resolved Hide resolved


### Chat
Expand All @@ -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 |
chenslucky marked this conversation as resolved.
Show resolved Hide resolved

## Outputs

Expand Down
1 change: 1 addition & 0 deletions docs/reference/tools-reference/openai-gpt-4v-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading