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
# API Request Node, Improved Retries, and Enhanced Message Controls
2
+
3
+
1.**HttpRequest Node Renamed to ApiRequest**: The `HttpRequest` workflow node has been renamed to [`ApiRequest`](https://api.vapi.ai/api#:~:text=ApiRequest), and can be accessed through `Assistant.model.workflow.nodes[type="api-request"]`. Key changes:
4
+
- New support for POST requests with customizable headers and body
5
+
- New async request support with `isAsync` flag
6
+
- Task status messages for waiting, starting, failure and success states
7
+
<Warning>The `HttpRequest` node is now deprecated and will be removed in a future release. Please migrate to the new `ApiRequest` node.</Warning>
8
+
9
+
2.**New Backoff and Retry Controls**: You can now configure [`Assistant.model.tools[type=dtmf].server.backoffPlan`](https://api.vapi.ai/api#:~:text=BackoffPlan) to handle failed requests with customizable retry strategies and delays.
10
+
- Supports fixed or exponential backoff strategies
11
+
- Configure `maxRetries` (up to 10) and `baseDelaySeconds` (up to 10 seconds)
12
+
- Available in server configurations via `backoffPlan` property
13
+
14
+
3.**Enhanced Gather Node**: The [`Assistant.model.workflow.nodes[type=gather]`](https://api.vapi.ai/api#:~:text=Gather) node has been improved with the following changes:
15
+
- Added `maxRetries` property to control retry attempts
16
+
- Now accepts a single JsonSchema instead of an array
17
+
- Removed default value for `confirmContent` property
18
+
19
+
4.**Improved Message Controls**: [`Assistant.messagePlan`](https://api.vapi.ai/api#:~:text=MessagePlan) has been improved with the following changes:
20
+
- Increased `idleTimeoutSeconds` maximum from 30 to 60 seconds
21
+
- Added `silenceTimeoutMessage` to customize call ending due to silence
22
+
23
+
5.**New Distilled Deepseek Model with Groq**: You can now select `deepseek-r1-distill-llama-70b` when using [Groq](https://api.vapi.ai/api#:~:text=Groq) as the provider in [`Assistant.model[provider='groq']`](https://api.vapi.ai/api#:~:text=UpdateCallDTO-,Assistant,-UpdateAssistantDTO)
24
+
25
+
6.**Edge Condition Updates**: Edge conditions now require explicit matching criteria to improve workflow control and readability. Semantic edges must specify a `matches` property while programmatic edges require a `booleanExpression` property to define transition logic.
-**searchType** (required): The search method used for finding relevant chunks. Available options:
83
+
-`fulltext`: Traditional text search
84
+
-`semantic`: Semantic similarity search
85
+
-`hybrid`: Combines fulltext and semantic search
86
+
-`bm25`: BM25 ranking algorithm
87
+
-**topK** (optional): Number of top chunks to return. Default varies by implementation
88
+
-**removeStopWords** (optional): When true, removes common stop words from the search query. Default: `false`
89
+
-**scoreThreshold** (optional): Filters out chunks based on their similarity score:
90
+
- For cosine distance: Excludes chunks below the threshold
91
+
- For Manhattan Distance, Euclidean Distance, and Dot Product: Excludes chunks above the threshold
92
+
- Set to 0 or omit for no threshold
93
+
94
+
##### Chunk Plan Options
95
+
96
+
-**fileIds** (optional): Array of file IDs to include in the vector store
97
+
-**websites** (optional): Array of website URLs to crawl and include in the vector store
98
+
-**targetSplitsPerChunk** (optional): Number of splits per chunk. Default: `20`
99
+
-**splitDelimiters** (optional): Array of delimiters used to split text before chunking. Default: `[".!?\n"]`
100
+
-**rebalanceChunks** (optional): When true, evenly distributes remainder splits across chunks. For example, 66 splits with `targetSplitsPerChunk: 20` will create 3 chunks with 22 splits each. Default: `true`
101
+
73
102
### **Step 3: Create an Assistant**
74
103
75
104
Create a new assistant in Vapi and, on the right sidebar menu. Add the Knowledge Base to your assistant via the PATCH endpoint. Also make sure you customize your assistant's system prompt to utilize the Knowledge Base for responding to user queries.
0 commit comments