You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -24,24 +24,23 @@ To get started with this project:
24
24
25
25
1. Clone the repository to your local machine.
26
26
2. Install the dependencies by running `pnpm install`.
27
-
3. Setup wrangler by creating `wrangler.toml` by command `cp wrangler.example.toml wrangler.toml` in the root directory. Install wrangler cli if you don't have it using `npm i -g wrangler`.
27
+
3. Setup `.env` by command `cp example.env .env` in the root directory.
28
28
4. You can start the project locally using command `pnpm start`
29
29
5. You can deploy the project to Deno using command `pnpm deploy:prod`
30
30
31
31
#### Configuration
32
32
33
-
1. Create `wrangler.toml` by command `cp wrangler.example.toml wrangler.toml` in the root directory.
34
-
2. Get ur `OPENAI_API_KEY` from openai and update the `wrangler.toml` file.
35
-
3. From Vapi dashboard, you can get your Vapi Private key from **Dashboard > Accounts > Vapi Keys > Api Key** and update `wrangler.toml` file
36
-
4. Get ServerURL
33
+
1. Get ur `OPENAI_API_KEY` from openai and update the `.env` file.
34
+
2. From Vapi dashboard, you can get your Vapi Private key from **Dashboard > Accounts > Vapi Keys > Api Key** and update `.env` file
35
+
3. Get ServerURL
37
36
38
37
1. Using Ngrok: Start the project locally using `pnpm start` and then use ngrok to get the url.
39
38
2. Using Deno: Deploy to heroku/railway or others and get the url for the serverURL.
40
39
41
40
The serverURL to be configured in the **Dashboard > Accounts > Settings** is `https://<domain>/api/webhook` This has all the messages placeholder. You can also try `https://<domain>/api/functions/basic` or `https://<domain>/api/rag`
42
41
43
-
5. There are sample request body in `./assistants` folder. Use them to create an assistant using the POST endpoint `https://api.vapi.ai/api/assistant` with any of the body from `./assistants`.
44
-
6. Now you have an assistant created which you can talk with from the Vapi Dashboard.
42
+
4. There are sample request body in `./assistants` folder. Use them to create an assistant using the POST endpoint `https://api.vapi.ai/api/assistant` with any of the body from `./assistants`.
43
+
5. Now you have an assistant created which you can talk with from the Vapi Dashboard.
0 commit comments