https://retellai.com/?utm_source=discord&utm_medium=seo logo
s
@AI Evy Good morning. I have an 3k txt file I trying to upload to the knowledge base and it it taking over 5minutes so far. Is this typical? Can anyone provide another way to do. It says in progress...no way it should take this long. See attached. Anyone have any ideas to help? Appreciate it in advance. https://cdn.discordapp.com/attachments/1302816169367044149/1428372352848367728/image.png?ex=68f242ea&is=68f0f16a&hm=3910cc829f3b903b7f0a22ad906ed2408067d90e4121fe4aaee121631abf40b9&
a
Thanks for tagging me @stevenrey_37775. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, a 3KB text file should not typically take over 5 minutes to process in a knowledge base [(1) ]() . The knowledge base creation process involves chunking the source, embedding them, and storing into a vector database . Here are alternative approaches you can try: Alternative Method 1: API Upload You can use the API to create a knowledge base with your text file [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
async function main() {
 const knowledgeBaseResponse = await client.knowledgeBase.create({
 knowledge_base_name: "Sample KB",
 knowledge_base_files: [
 fs.createReadStream("../sample.txt") ,
 ],
 }) ;
 console.log(knowledgeBaseResponse.knowledge_base_id) ;
}
main() ;
Alternative Method 2: Text Snippets Instead of uploading a file, you could convert your text content into text snippets :
Copy code
javascript
const knowledgeBaseResponse = await client.knowledgeBase.create({
 knowledge_base_name: "Sample KB",
 knowledge_base_texts: [
 {
 text: "Hello, how are you?",
 title: "Sample Question",
 },
 ],
}) ;
Check Status You can monitor the processing status using the retrieve endpoint [(3) ]() :
Copy code
javascript
const knowledgeBaseResponse = await client.knowledgeBase.retrieve('kb_1234567890') ;
console.log(knowledgeBaseResponse.knowledge_base_id) ;
The status will show "in_progress" during processing and "complete" when finished . If you continue experiencing extended processing times, this may indicate a technical issue that requires support attention.
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Create Knowledge Base](https://docs.retellai.com/api-references/create-knowledge-base) [[3] Get Knowledge Base](https://docs.retellai.com/api-references/get-knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
Ok and how to stop the progress of pending uploads?
@AI Evy Ok and how to stop the progress of pending uploads?
a
Thanks for the follow-up, @stevenrey_37775. I'll get back to you soon.
### Answer Based on the available sources, there isn't explicit documentation about stopping or canceling knowledge base uploads that are in progress. However, from a Discord support interaction, one user experienced a similar issue where their knowledge base was stuck "in progress" for over 3 hours [(1) ]() . The support team suggested that when a knowledge base is stuck in "In progress" for extended periods, it likely indicates an issue with ingestion . The recommended solution was to cancel and re-upload only a small file or single URL to test if it processes . The user in that case resolved the issue by creating new knowledge bases and re-uploading their documents into separate knowledge bases, which worked successfully . Unfortunately, the current documentation doesn't provide a specific API endpoint or dashboard method to cancel pending uploads. You may need to: 1. Wait for the current upload to complete or timeout 2. Create a new knowledge base and re-upload your content 3. Contact support if the issue persists I don't have specific information about stopping pending uploads in the available sources. Would you like me to provide general guidance, or would you prefer to check the support resources? Check out these potentially useful sources: [Empower AI with Dynamic Knowledge Bases | Retell AI]() , [Add Knowledge Base Sources]()
​ To learn more, see the sources I considered: [[1] Support Knowledge base not loading.](https://discord.com/channels/1186424376300679209/1404930721713487902) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy 3, contacct to support
a
Thanks for the follow-up, @stevenrey_37775. I'll get back to you soon.
### Answer For support with your knowledge base upload issue, here are your options: **Contact Sales**: Visit [Contact Sales]() **GitHub Repository**: Visit [) Based on the Discord discussions, similar upload issues have been reported by other users [(1) ]() . The support team has been responsive to these types of technical issues and has pushed fixes for knowledge base upload problems . Would you like me to provide a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Knowledge Base Issues](https://discord.com/channels/1186424376300679209/1309471075733868574) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.