Skip to content

Commit 09f06e2

Browse files
authored
Update README.md
1 parent 00ebd3e commit 09f06e2

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

README.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ etc..
331331

332332

333333

334-
Set APIKey of OpenAI to `OPENAI_API_KEY`.\
335-
OpenAI URL: https://platform.openai.com/account/api-keys
334+
Export APIKey of OpenAI to `OPENAI_API_KEY`.\
335+
Get APIKey URL: https://platform.openai.com/account/api-keys
336336

337337
```
338338
$ export OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxx
@@ -341,13 +341,43 @@ $ export OPENAI_API_KEY=xxxxxxxxxxxxxxxxxxxxx
341341
Combine the specified target data and prompt, send it to ChatGPT, output the code, and save it.
342342

343343
```
344-
$ dim generate -t "./data.csv" "python code that convert this csv data to geojson"
344+
$ dim generate -t "./data.csv" "Python code that converts this csv data to geojson"
345345
```
346346

347347
Specify the data name managed by dim using `-t`
348348

349349
```
350-
$ dim generate -t "shelter" "python code that convert this csv data to geojson"
350+
$ dim generate -t "shelter" "Python code that converts this csv data to geojson"
351+
```
352+
353+
### Example prompt List
354+
355+
```
356+
Python code that converts this csv data to geojson
357+
```
358+
359+
```
360+
Python code that remove id column from this csv data
361+
```
362+
363+
```
364+
Python code that visualizes this csv data as a map
365+
```
366+
367+
```
368+
Python code that visualizes this csv data as a map
369+
```
370+
371+
```
372+
Python code that visualizes this csv data as HTML page
373+
```
374+
375+
```
376+
Python code that saves this csv data to PostgreSQL
377+
```
378+
379+
```
380+
Python code that converts full-width numbers in this csv file to half-width numbers
351381
```
352382

353383
## [Help](doc/en/help.md)

0 commit comments

Comments
 (0)