Skip to content

Commit

Permalink
Refine documentation for CHAT_COMPLETE
Browse files Browse the repository at this point in the history
  • Loading branch information
robatwilliams committed Dec 20, 2023
1 parent b25918e commit 7d844c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/functions/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"allowCustomDataForDataTypeAny": true,
"functions": [
{
"description": "Complete the chat using a model",
"description": "Create a model completion for the given chat coversation",
"id": "CHAT_COMPLETE",
"name": "CHAT_COMPLETE",
"options": {
Expand All @@ -11,13 +11,13 @@
"parameters": [
{
"name": "messages",
"description": "Either a single message (which will be used as the content of a user message and prefixed with a default system message) or a range of cells containing messages (the first column will be used as the role, the second column as the message and subsequent columns will be ignored).",
"description": "The conversation so far. Either a single message (which will be used as the content of a user message and prefixed with a default system message), or a range of cells containing messages (the first column will be used as the role, and the second column as the message).",
"type": "string",
"dimensionality": "matrix"
},
{
"name": "params",
"description": "The parameters for the model call. The first column is used as parameter keys and the second as values. Subsequent columns are ignored. If a key is repeated in later rows, the value given in the later row replaces the value given in the earlier row.",
"description": "The parameters for the model call. The first column is used as parameter keys and the second as values. The API_KEY parameter is required.",
"type": "any",
"dimensionality": "matrix"
}
Expand Down

0 comments on commit 7d844c4

Please sign in to comment.