Skip to content

Commit 88fe6e8

Browse files
committed
feat(readme): adjustment instructions for use
1 parent 8da318c commit 88fe6e8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,20 @@ $ cd openai-function-calling-use-exaples
2828

2929
3. Create the `.env` file and add your api key
3030

31-
4. Run Project
31+
4. Set up environment variables:
32+
33+
- Create a `.env` file in the root of the project.
34+
35+
- Add your Open AI API key to the .env file:
36+
37+
```env
38+
OPENAI_API_KEY=your Open AI api key
39+
AMAP_API_KEY=your AMAP api key
40+
```
41+
42+
`TIPS:` If there is no AMAP_API_KEY, you can comment out the relevant code.
43+
44+
5. Run Project
3245
```shell
3346
$ streamlit run main.py
3447
```

0 commit comments

Comments
 (0)