From ac8380f681e55def0c09b30ebcfd7b8a46c6ec7b Mon Sep 17 00:00:00 2001 From: Robat Williams Date: Tue, 19 Dec 2023 12:16:43 +0000 Subject: [PATCH] Refinements to readme - Using completion results --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9d47129..65d1f99 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # OpenAI API Functions for Excel -> Create OpenAI chat completions from an Excel formula +> Create OpenAI chat completions from Excel formulas Developer oriented Excel add-in that provides `=OAI.CHAT_COMPLETE()` and helpers. Use the power of spreadsheets for prompt engineering, prompt decomposition, prototyping systems, and more. @@ -27,11 +27,11 @@ See the [function metadata](https://github.com/robatwilliams/openai-excel-formul ## Using completion results -Completions populate the cell with a custom data type which includes the complate API request and response, and whose text value is the content of the first completion choice. +Completions populate the cell with a custom data type which includes the complete API request and response. Its text value is the content of the first completion choice. -To view the completion data, open the entity card. The `_lines` property provides a convenience view of the completion content. +To obtain the text value for use in formulas, use the `VALUETOTEXT()` function. To obtain other request/response data, use dot notation to the property path (e.g. `A123.response.model`). -To obtain the text value for use in formulas, use the `VALUETOTEXT()` function. To obtain other request/response data, use dot notation to the property path. +To view the completion data, open the entity card. The `_lines` property provides a line-by-line view of the completion content. To extract a final answer that follows a chain of thought, you could use a formula such as: