Skip to content

Commit f408be4

Browse files
chore: remove python
1 parent cbf8d36 commit f408be4

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

fern/security-and-privacy/recording-consent-plan.mdx

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -219,34 +219,6 @@ This webhook structure allows you to easily determine whether recording consent
219219
});
220220
```
221221
</Tab>
222-
<Tab title="Python (Server SDK)">
223-
```python
224-
from vapi import Vapi
225-
226-
client = Vapi(token=os.getenv("VAPI_API_KEY"))
227-
228-
assistant = client.assistants.create({
229-
"name": "Customer Support Assistant",
230-
"model": {
231-
"provider": "openai",
232-
"model": "gpt-4o"
233-
},
234-
"voice": {
235-
"provider": "11labs",
236-
"voiceId": "sarah"
237-
},
238-
"compliancePlan": {
239-
"recordingConsentPlan": {
240-
"type": "verbal",
241-
"message": "This call may be recorded for quality and training purposes. Do you agree to being recorded? Please say 'yes' if you agree or 'no' if you decline.",
242-
"declineTool": {
243-
"type": "endCall"
244-
}
245-
}
246-
}
247-
})
248-
```
249-
</Tab>
250222
</Tabs>
251223

252224
</Step>

0 commit comments

Comments
 (0)