Skip to content

Commit 102acb1

Browse files
committed
Clarify some wording
1 parent 1a12255 commit 102acb1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

country-capitals/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ After the chatbot has finished interpreting the data, the user may start asking
1818
questions via Read-Evaluate-Print loop (REPL).
1919

2020
## Information Retrieved for Responses
21-
Remarkably, the chatbot "realizes" the geographics and demographic context
21+
Remarkably, the chatbot "realizes" the geographic and demographic context
2222
established by the PDF's data. This enables it to access the right knowledge
23-
resources on the internet to complete information required to answer user
23+
resources on the internet for completing the information required to answer the user
2424
questions.
2525

26-
For example, it will understand it has to look up cities and countries if being
27-
asked for words that do not occur in the PDF. For instance, the country
28-
Liechtenstein is not in the PDF, but asking for it or its capital city,
29-
Vaduz will deliver correct information, including population numbers and
26+
For example, it will understand it has to look up **cities** and **countries** when being
27+
asked for words that do not occur in the PDF.
28+
29+
For instance, the country
30+
**Liechtenstein** is not in the PDF, but asking for it or its capital city,
31+
Vaduz will deliver correct information, including population numbers or
3032
short abstracts of city and country.
3133

3234
## Getting Started
@@ -42,7 +44,7 @@ python pip install -U openai
4244
Visit https://github.com/openai/openai-cookbook to learn how to register on
4345
OpenAI's website and request an API key.
4446

45-
Copy this folder to your machine, then edit the script and type in your API key and save. Then open a terminal in the folder and execute the following command:
47+
Copy this folder to your machine, then edit the script, type in your API key in this line `API_KEY = "your OpenAI API key goes here"` and save. Then open a terminal in the folder and execute the following command:
4648

4749
```bash
4850
python country-capitals.py

0 commit comments

Comments
 (0)