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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ You can install the package via pip:
10
10
pip install vapi_python
11
11
```
12
12
13
+
On Mac, you might need to install `brew install portaudio` to satisfy `pyaudio`'s dependency requirement.
14
+
13
15
## Usage
14
16
15
17
First, import the Vapi class from the package:
@@ -18,10 +20,10 @@ First, import the Vapi class from the package:
18
20
from vapi_python import Vapi
19
21
```
20
22
21
-
Then, create a new instance of the Vapi class, passing your Web Client Key as a parameter to the constructor:
23
+
Then, create a new instance of the Vapi class, passing your Public Key as a parameter to the constructor:
22
24
23
25
```python
24
-
vapi = Vapi(api_key='your-api-key')
26
+
vapi = Vapi(api_key='your-public-key')
25
27
```
26
28
27
29
You can start a new call by calling the `start` method and passing an `assistant` object or `assistantId`. You can find the available options here: [docs.vapi.ai](https://docs.vapi.ai/api-reference/assistants/create-assistant)
0 commit comments