Skip to content

Commit 6120e01

Browse files
committed
Update README.md
1 parent 1376b9e commit 6120e01

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@ Oracle's Generative AI service allows developers to unlock a better user experie
1616

1717
### 0. Set up
1818

19-
```text
2019
Follow links below to generate a config file and a key pair in your ~/.oci directory
21-
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm
22-
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm
23-
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#configfile
2420

25-
After completion, you should have following 2 things in your ~/.oci directory
21+
- [](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm)
22+
- [](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm)
23+
- [](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#configfile)
2624

27-
a. A config file(where key file point to private key:key_file=~/.oci/oci_api_key.pem)
28-
b. A key pair named oci_api_key.pem and oci_api_key_public.pem
25+
After completion, you should have following 2 things in your `~/.oci directory `
2926

27+
a. A config file(where key file point to private key:key_file=`~/.oci/oci_api_key.pem`)
28+
b. A key pair named `oci_api_key.pem` and `oci_api_key_public.pem`
3029
Now make sure you change the reference of key file in config file (where key file point to private key:key_file=/YOUR_DIR_TO_KEY_FILE/oci_api_key.pem)
31-
```
3230

3331
- Append OCI Generative-AI service compartment and endpoint URL
3432
`vim service/python/server.py`
@@ -68,10 +66,8 @@ async def start_server():
6866

6967
### 2. Upload Public Key
7068

71-
```text
72-
# Upload your oci_api_key_public.pem to console:
73-
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#three
74-
```
69+
- Upload your oci_api_key_public.pem to console:
70+
[](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#three)
7571

7672
### 3. Make sure you have python installed on your machine
7773

@@ -148,7 +144,6 @@ generative_ai_client = oci.generative_ai.generative_ai_client.GenerativeAiClient
148144
- OCI Account
149145
- OCI Generative Service
150146
- Oracle JET
151-
- Python3
152147

153148
## Notes/Issues
154149

0 commit comments

Comments
 (0)