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
-**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.
-**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.
-**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