@@ -18,9 +18,9 @@ Oracle's Generative AI service allows developers to unlock a better user experie
18
18
19
19
Follow links below to generate a config file and a key pair in your ~ /.oci directory
20
20
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 )
21
+ - [ SDK config ] ( https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm )
22
+ - [ API signing key ] ( https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm )
23
+ - [ CLI install ] ( https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#configfile )
24
24
25
25
After completion, you should have following 2 things in your ` ~/.oci directory `
26
26
@@ -66,8 +66,8 @@ async def start_server():
66
66
67
67
### 2. Upload Public Key
68
68
69
- - Upload your oci_api_key_public.pem to console:
70
- [ ] ( https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#three )
69
+ - Upload your oci_api_key_public.pem to console:
70
+ [ API signing key ] ( https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#three )
71
71
72
72
### 3. Make sure you have python installed on your machine
73
73
@@ -80,31 +80,31 @@ You should see similar output:
80
80
Python 3.8.3
81
81
```
82
82
83
- ### 4. Install all dependencies(include our beta version SDK)
83
+ ### 4. Install all dependencies
84
84
85
85
We suggest you install dependencies in a virtual env to avoid conflicts on your system.
86
86
87
87
- Navigate to the server root folder
88
- ` cd / service/python `
88
+ ` cd service/python `
89
89
- Create vitrual environment:
90
90
` python3 -m venv venv `
91
91
- Activate your virtual environment:
92
92
` . venv/bin/activate `
93
93
- Upgrade pip:
94
- ` pip install --upgrade pip`
94
+ ` pip3 install --upgrade pip`
95
95
- Install requirements:
96
- ` pip install -r requirements.txt`
96
+ ` pip3 install -r requirements.txt`
97
97
98
- ## 5. Start Python server websocket app
98
+ ## 5. Start websocket server app
99
99
100
100
Once dependencies are installed and your service credentials are updated you can run server.py
101
101
102
- - ` python server.py`
102
+ - ` python3 server.py`
103
103
104
104
## 6. Start JET Client
105
105
106
106
- Open app directory:
107
- ` cd app/ `
107
+ ` cd ../../ app ` or ` cd app /` in root folder
108
108
- Install dependencies:
109
109
` ojet restore `
110
110
- Run local version:
0 commit comments