### Answer
The file size limit for knowledge base uploads is 50MB per file, with a maximum of 25 files per upload [(1) ](
) . Since both your PDF and CSV are 19MB, they're within the size limit.
Based on community reports, there have been documented issues with knowledge base file uploads [(2) ](
) [(3) ](
) [(4) ](
) . Some users experienced files getting stuck at "in progress" status [(2) ](
) , while others encountered "Internal Server Error" when uploading files through the API [(3) ](
) [(4) ](
) .
Troubleshooting steps to try:
1.
Use the correct file format - File format issues have caused problems before. One user found that files with incorrect extensions (like XML files saved as .md) caused processing failures [(5) ](
) .
2.
Try uploading through different methods - If you're using the dashboard, try the API (or vice versa) . Here's the API approach using the Retell SDK:
javascript
import Retell from 'retell-sdk';
import fs from 'fs';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
async function main() {
const knowledgeBaseResponse = await client.knowledgeBase.addSources(
"knowledge_base_xxxxxxxxxxxx",
{
knowledge_base_files: [
fs.createReadStream("./sample.txt") ,
],
}
) ;
console.log(knowledgeBaseResponse.knowledge_base_id) ;
}
main() ;