Skip to content

Commit

Permalink
Update 1600 - summarizer.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fscelliott committed Aug 21, 2023
1 parent 7ed4b40 commit 87122f7
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
title: "Summarizer"
hidden: false
---
Automatically extracts key/value pairs from short snippets of free text using [OpenAI's GPT-3 completion API](https://beta.openai.com/docs/). The Summarizer computed field method takes as input a snippet of free text, and extracts key/value pairs based on instructions or short samples of extracted values you provide. This method is similar to the List method.
Automatically extracts key/value pairs from short snippets of free text using [OpenAI's GPT-3 completion API](https://beta.openai.com/docs/). The Summarizer computed field method takes as input a snippet of free text, and extracts key/value pairs based on instructions or short samples of extracted values you provide.

For a comparison of these methods, see the following table:
Example use cases for this method include:

- To transform another method's output when using [types](doc:types) is difficult. For example, if you use the [Row](doc:row) method to return an inconsistently formatted ranking (`first`, `1st`, `1`), then you can use this method to consistently format the ranking. For example, you can reformat with instructions like `the following snippet is a ranking. Return it formatted liked \"1st\", \"2nd\", \"3rd\" and so forth, not written out like \"first\" or in numeral-only format like \"1\" `.

- As an alternative to the List method. For a comparison of these methods, see the following table:

| Summarizer method | List method |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
Expand Down

0 comments on commit 87122f7

Please sign in to comment.