File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ const client = axios.create({
8
8
headers : { 'Authorization' : 'Bearer ' + apiKey }
9
9
} ) ;
10
10
11
- // Add your documentation here. These will be used to answer questions. You can add up to 200.
11
+ // Add your documents here. These will be used to answer questions. You can add up to 200.
12
12
// Alternately, you can store documents in a file. See: https://beta.openai.com/docs/api-reference/answers
13
13
const documents = [
14
- "I am a day older than I was yesterday.<|endoftext|>" ,
15
- "I build applications that use GPT-3.<|endoftext|>" ,
16
- "My preferred programming is Python.<|endoftext|>"
14
+ "This app was built using JavaScript and Node.JS.<|endoftext|>" ,
15
+ "The app has a simple HTML form that users can use to submit questions.<|endoftext|>" ,
16
+ "GPT-3 will use documents provided by the developer as a knowledge base to derive answers from.<|endoftext|>" ,
17
+ "This is an example application that can be used to learn how to build apps using the OpenAI API.<|endoftext|>"
17
18
]
18
19
19
20
const endpoint = 'https://api.openai.com/v1/answers' ;
You can’t perform that action at this time.
0 commit comments