From 20525152d26f90d42e1d0b30d29e5a57495c25c6 Mon Sep 17 00:00:00 2001 From: Chris Price Date: Tue, 16 Jan 2024 12:21:38 +0000 Subject: [PATCH 1/2] Add PARAMS sheet instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a52a08..9b67e53 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ For other platforms, [clear the Office cache](https://learn.microsoft.com/en-us/ ## Usage -`OAI.CHAT_COMPLETE()` calls the API to create completions. +`OAI.CHAT_COMPLETE()` calls the API to create completions. It is typical to setup a sheet containing default parameters for the model call. The first column is used as parameter keys and the second as values. The API_KEY parameter is required and its value should be sourced from the OpenAI console. `OAI.COST()` calculates the billing cost(s) of completion cell(s). Wrap it with `SUM()` to calculate a total. From da6fb59631decf83eb9eb7e6e37aae0cde75e590 Mon Sep 17 00:00:00 2001 From: Chris Price Date: Tue, 16 Jan 2024 13:31:29 +0000 Subject: [PATCH 2/2] Remove "default" Co-authored-by: Robat Williams --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b67e53..e812d93 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ For other platforms, [clear the Office cache](https://learn.microsoft.com/en-us/ ## Usage -`OAI.CHAT_COMPLETE()` calls the API to create completions. It is typical to setup a sheet containing default parameters for the model call. The first column is used as parameter keys and the second as values. The API_KEY parameter is required and its value should be sourced from the OpenAI console. +`OAI.CHAT_COMPLETE()` calls the API to create completions. It is typical to setup a sheet containing parameters for the model call. The first column is used as parameter keys and the second as values. The API_KEY parameter is required and its value should be sourced from the OpenAI console. `OAI.COST()` calculates the billing cost(s) of completion cell(s). Wrap it with `SUM()` to calculate a total.