mauryasumit
03/07/2025, 9:11 AMjavascript
const payload = {
file_name: fileName,
base64_file: base64File,
metadata,
create_chunks: createChunks,
group_tracking_id: groupTrackingId,
tag_set: [''],
split_delimiters: ['.', '?', '\n'],
target_splits_per_chunk: 20,
rebalance_chunks: false,
split_avg: false,
pdf2md_options: {
use_pdf2md_ocr: false,
split_headings: false,
system_prompt: '',
},
};
2. Created a Knowledge Base
- Used the following payload:
javascript
const knowledgeBasePayload = {
name,
provider: 'trieve',
searchPlan: {
searchType,
topK,
removeStopWords: true,
scoreThreshold,
},
createPlan: {
type: 'import',
providerId: datasetId, // Dataset ID from Step 1
},
};
Default Values:
javascript
searchType = 'semantic';
topK = 3;
scoreThreshold = 0.7;
3. Issue Faced:
- When searching on Trieve, we are retrieving the correct data.
- However, the assistant does not return that data. Instead, it provides random or unrelated information.
We are attaching a screenshot that contains the expected search terms and results from Trieve. Please investigate why the assistant is not retrieving the correct data despite the setup being correct.
Looking forward to your assistance in resolving this issue.
https://cdn.discordapp.com/attachments/1347496932750266419/1347496933119496253/image.png?ex=67cc09d0&is=67cab850&hm=7bf2169d93846979f65a6682092294e8ff3608da9c543777ee12007f81ecb4e3&Vapi Support Bot
03/07/2025, 9:13 AMVapi Support Bot
03/07/2025, 9:13 AMVapi Support Bot
03/07/2025, 9:20 AMmauryasumit
03/07/2025, 9:50 AMmauryasumit
03/07/2025, 10:16 AMKyle
03/08/2025, 12:57 AMmauryasumit
03/08/2025, 3:56 AMmauryasumit
03/08/2025, 3:56 AMNick K - CEO @ Trieve
03/10/2025, 2:00 AMNick K - CEO @ Trieve
03/10/2025, 2:01 AMmauryasumit
03/10/2025, 5:31 AM0.2
then tried it gives same error everytimemauryasumit
03/10/2025, 5:31 AMNick K - CEO @ Trieve
03/10/2025, 5:34 AMNick K - CEO @ Trieve
03/10/2025, 5:34 AMmauryasumit
03/10/2025, 5:35 AMmauryasumit
03/10/2025, 5:37 AMmauryasumit
03/10/2025, 5:37 AMNick K - CEO @ Trieve
03/10/2025, 5:38 AMNick K - CEO @ Trieve
03/10/2025, 5:38 AMmauryasumit
03/10/2025, 5:43 AMNick K - CEO @ Trieve
03/10/2025, 5:44 AMmauryasumit
03/10/2025, 5:47 AM370cc900-3bf8-40b3-99da-fd7af743249f
@Shubham Bajaj We need this to work correctly. We are going live by the 18th, so this needs to be sorted as soon as possible.mauryasumit
03/11/2025, 9:37 AM