Skip to content

Commit f971af2

Browse files
Changelog page October 8 to October 9, 2024 (VapiAI#138)
* Changelog page October 8 to October 9, 2024 * update wording to be clearer
1 parent 96e3025 commit f971af2

File tree

1 file changed

+38
-32
lines changed

1 file changed

+38
-32
lines changed

changelog.mdx

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,41 @@ sidebarTitle: "Changelog"
44
description: "New features, improvements, and fixes every few days"
55
---
66

7-
# October 7 to October 8, 2024
8-
9-
1. **New GPT-4o Model Support for Azure OpenAI**: You can now specify the `gpt-4o-2024-08-06` model in the `models` field when configuring Azure OpenAI credentials. Use this model to access the latest GPT-4 operational capabilities in your applications.
10-
11-
2. **Specify Timestamps as Strings in `/logs`**: We now expect timestamps as strings when working with logs. Please make sure to handle this accordingly in your applications.
12-
13-
14-
# October 6 to October 7, 2024
15-
16-
1. **Add Structured Outputs for OpenAI Functions in Assistant Tools**: You can use [OpenAI Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) by specifying a new parameter called `strict` as true or false when creating or using `OpenAIFunction`s in `assistant.model.tools[type=function]`. Set the `name`, provide a `description` (up to 1000 characters), and specify `parameters` as a [JSON Schema object](https://json-schema.org/understanding-json-schema). See the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples.
17-
18-
2. **Secure Incoming SIP Phone Calls to Vapi Provided SIP Numbers**: You can now specify a `username`, `password`, and optional `realm` in SIP Invite AuthZ header, through digest authentication. Create this secure SIP number by specifying an "authentication" object with the username and password fields inside `POST /phone-number` request body. Example:
19-
```bash
20-
curl --location 'https://api.vapi.ai/phone-number' \
21-
--header 'Content-Type: application/json' \
22-
--header 'Authorization: Bearer {}API_KEY}}' \
23-
--data-raw '{
24-
"provider": "vapi",
25-
"sipUri": "sip:{{USERNAME}}@sip.vapi.ai",
26-
"assistantId": "{{ASSISTANT_ID}}",
27-
"name": "example phone number label for your reference",
28-
"authentication": {
29-
"realm": "sip.vapi.ai",
30-
"username": "test@example.com",
31-
"password": "example_password"
32-
}
33-
}'
34-
```
35-
36-
3. **Use Updated `handoff`, `callback` Steps in Blocks**: You can now use `assistant.model.steps[type=handoff]` and `assistant.model.steps[type=callback]` to control conversation flow in your assistant. Use `HandoffStep` to move to the next step linearly without returning to the previous step, ideal for sequential tasks like forms. Use `CallbackStep` to spawn a new conversation thread and return to the previous step once done, good for handling interruptions or sub-tasks within a conversation.
37-
38-
4. **Use Step Destinations and Assignment Mutation in Blocks**: Specify destination nodes for each step with `assistant.model.steps[type=handoff].destinations[type=step]` to direct the workflow to specific steps based on certain conditions. Update context variables in each callback step with `mutations[type=assignment]`, for example: `assistant.model.steps[type=callback].mutations[type=assignment]`
7+
# October 8 to October 9, 2024
8+
9+
1. **Call Cost Information**: You can now use `call.costs[type=vapi].subType` to determine if a VAPI cost is `normal` or an `overage`.
10+
11+
2. **Updated Billing Page**: Your payments are now returned inside a table with pages on the [billing page](https://dashboard.vapi.ai/org/billing).
12+
13+
<AccordionGroup>
14+
<Accordion title="October 7 to October 8, 2024">
15+
1. **New GPT-4o Model Support for Azure OpenAI**: You can now specify the `gpt-4o-2024-08-06` model in the `models` field when configuring Azure OpenAI credentials. Use this model to access the latest GPT-4 operational capabilities in your applications.
16+
17+
2. **Specify Timestamps as Strings in `/logs`**: We now expect timestamps as strings when working with logs. Please make sure to handle this accordingly in your applications.
18+
</Accordion>
19+
<Accordion title="October 6 to October 7, 2024">
20+
1. **Add Structured Outputs for OpenAI Functions in Assistant Tools**: You can use [OpenAI Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs) by specifying a new parameter called `strict` as true or false when creating or using `OpenAIFunction`s in `assistant.model.tools[type=function]`. Set the `name`, provide a `description` (up to 1000 characters), and specify `parameters` as a [JSON Schema object](https://json-schema.org/understanding-json-schema). See the [OpenAI guide](https://platform.openai.com/docs/guides/function-calling) for examples.
21+
22+
2. **Secure Incoming SIP Phone Calls to Vapi Provided SIP Numbers**: You can now specify a `username`, `password`, and optional `realm` in SIP Invite AuthZ header, through digest authentication. Create this secure SIP number by specifying an "authentication" object with the username and password fields inside `POST /phone-number` request body. Example:
23+
```bash
24+
curl --location 'https://api.vapi.ai/phone-number' \
25+
--header 'Content-Type: application/json' \
26+
--header 'Authorization: Bearer {}API_KEY}}' \
27+
--data-raw '{
28+
"provider": "vapi",
29+
"sipUri": "sip:{{USERNAME}}@sip.vapi.ai",
30+
"assistantId": "{{ASSISTANT_ID}}",
31+
"name": "example phone number label for your reference",
32+
"authentication": {
33+
"realm": "sip.vapi.ai",
34+
"username": "test@example.com",
35+
"password": "example_password"
36+
}
37+
}'
38+
```
39+
40+
3. **Use Updated `handoff`, `callback` Steps in Blocks**: You can now use `assistant.model.steps[type=handoff]` and `assistant.model.steps[type=callback]` to control conversation flow in your assistant. Use `HandoffStep` to move to the next step linearly without returning to the previous step, ideal for sequential tasks like forms. Use `CallbackStep` to spawn a new conversation thread and return to the previous step once done, good for handling interruptions or sub-tasks within a conversation.
41+
42+
4. **Use Step Destinations and Assignment Mutation in Blocks**: Specify destination nodes for each step with `assistant.model.steps[type=handoff].destinations[type=step]` to direct the workflow to specific steps based on certain conditions. Update context variables in each callback step with `mutations[type=assignment]`, for example: `assistant.model.steps[type=callback].mutations[type=assignment]`
43+
</Accordion>
44+
</AccordionGroup>

0 commit comments

Comments
 (0)