ben-aaron188 | 3818e7c | 2022-09-08 17:49:01 +0200 | [diff] [blame] | 1 | Package: rgpt3 |
ben-aaron188 | f6c5780 | 2022-09-11 17:02:33 +0200 | [diff] [blame] | 2 | Title: Make requests to the GPT-3 API |
| 3 | Version: 0.0.2 |
ben-aaron188 | 3818e7c | 2022-09-08 17:49:01 +0200 | [diff] [blame] | 4 | Authors@R: |
| 5 | person("Bennett", "Kleinberg", email = "bennett.kleinberg@tilburguniversity.edu", role = c("aut", "cre")) |
ben-aaron188 | f6c5780 | 2022-09-11 17:02:33 +0200 | [diff] [blame] | 6 | Description: With this package you can interact with the powerful GPT-3 models in two ways: making requests for completions (e.g., ask GPT-3 to write a novel, classify text, answer questions, etc.) and retrieving text embeddings representations (i.e., obtain a low-dimensional vector representation that allows for downstream analyses). You need to authenticate with your own Open AI API key and all requests you make count towards you token quota. For completion requests and embeddings requests, two functions each allow you to send either sinlge requests (`gpt3_single_request()` and `gpt3_single_embedding()`) or send bunch requests where the vectorised structure is used (`gpt3_requests()` and `gpt3_embeddings()`). |
ben-aaron188 | 3818e7c | 2022-09-08 17:49:01 +0200 | [diff] [blame] | 7 | URL: https://github.com/ben-aaron188/rgpt3 |
| 8 | License: GPL (>= 3) |
| 9 | Encoding: UTF-8 |
| 10 | Roxygen: list(markdown = TRUE) |
| 11 | RoxygenNote: 7.2.1 |
| 12 | Imports: |
| 13 | data.table, |
| 14 | httr |