@@ -16,19 +16,17 @@ Oracle's Generative AI service allows developers to unlock a better user experie
16
16
17
17
### 0. Set up
18
18
19
- ``` text
20
19
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
24
20
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 )
26
24
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 `
29
26
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 `
30
29
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
- ```
32
30
33
31
- Append OCI Generative-AI service compartment and endpoint URL
34
32
` vim service/python/server.py `
@@ -68,10 +66,8 @@ async def start_server():
68
66
69
67
### 2. Upload Public Key
70
68
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 )
75
71
76
72
### 3. Make sure you have python installed on your machine
77
73
@@ -148,7 +144,6 @@ generative_ai_client = oci.generative_ai.generative_ai_client.GenerativeAiClient
148
144
- OCI Account
149
145
- OCI Generative Service
150
146
- Oracle JET
151
- - Python3
152
147
153
148
## Notes/Issues
154
149
0 commit comments