Skip to content

Commit d571723

Browse files
committed
update docs
1 parent 6d90b07 commit d571723

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

routes/answer.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ const client = axios.create({
88
headers: { 'Authorization': 'Bearer ' + apiKey }
99
});
1010

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.
1212
// Alternately, you can store documents in a file. See: https://beta.openai.com/docs/api-reference/answers
1313
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|>"
1718
]
1819

1920
const endpoint = 'https://api.openai.com/v1/answers';

0 commit comments

Comments
 (0)