forked from mitchelljkotler/documentcloud-gpt3-playpen
/
config.yaml
51 lines (46 loc) · 1.9 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
title: "GPT-3.5 Turbo Playground"
description: |
Use GPT3.5 Turbo to help analyze your documents, right within DocumentCloud.
Give this a full prompt that you would pass into GPT-3.5 Turbo and it will run it
against your selected documents, one at a time.
instructions: |
Instructions:
The Add-On looks at the first 54,000 characters (~30 pages) in each document, if available.
Of course, if the document is only 1 page, it will only look at that page.
The Add-On cost is approximately 1 AI credit per page if your document has around 1750 characters per page.
If your document has much more text per page, it may be more costly. Additionally, it may not be 30 pages.
There is a dry-run option that tells you the cost of running the Add-On on your entire set without charging you.
The cost is capped at 30 AI credits per document per run.
If you have large documents but only care about the first 1000 characters in the document, you can set a limiter
so that it costs less to run the Add-On. You can set the limit between 1,000 - 54,000 characters.
We'd love your feedback and ideas — drop a note to info at documentcloud dot org or join
us in the News Nerdery Slack in the #proj-documentcloud channel.'
type: object
documents:
- selected
- query
properties:
dry_run:
title: Dry Run
type: boolean
description: Select this to calculate the cost of running this prompt, it will not charge you or do anything else.
prompt:
title: Give a GPT-3 style prompt
type: string
value:
title: Put a tag here if you would like to save the results as a key value pair on the document.
type: string
limiter:
title: Enter a limiter (number of characters) if you want to limit the search to only the first X characters.
type: integer
minimum: 1000
maximum: 56000
required:
- prompt
categories:
- ai
- premium
cost:
price: 1
amount: 1
unit: page