https://retellai.com/?utm_source=discord&utm_medium=seo logo
por que me da este fallo al subir el csv
# ❓・ai-evy-support
d
@AI Evy por que me da este fallo al subir el csv
a
Thanks for tagging me @davidconstain_82537. I'll look through relevant sources and get back to you shortly.
### Answer I understand you're having an issue uploading a CSV file. However, the available source only discusses problems with passing arguments to Custom Functions in Conversation Flow Agent, not CSV upload issues [(1) ]() . The source shows a user experiencing problems where arguments weren't being passed correctly to their Custom Function, resulting in empty parameters (
{}
) and a 400 error . The suggested solution was to rename the parameter from "id" to something like "user_id" since "id" might be a reserved keyword . For CSV upload issues specifically, I don't have relevant information in the available sources. You might want to check: - [Contact Sales]() - [) Would you like me to try providing a general answer about common CSV upload issues instead?
​ To learn more, see the sources I considered: [[1] Falla al pasar argumentos a una Custom Function](https://discord.com/channels/1186424376300679209/1332455959372628141) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy im creating a data knowledge
a
Thanks for the follow-up, @davidconstain_82537. I'll get back to you soon.
### Answer I'll help you create a knowledge base in Retell AI. You can create a knowledge base through multiple methods [(1) ]() . ## Using the Dashboard You can create a knowledge base through the Retell AI dashboard by navigating to the "Knowledge Base" section and clicking the "+" icon to add a new knowledge base [(2) ]() . When adding documents, you have three options : - **Add Web Pages**: Crawl and sync content from your website by uploading your website's URL or sitemap - **Upload Files**: Add files in supported formats (e.g., PDF, DOCX, or CSV) - **Add Text**: Manually input or paste specific content for custom entries ## Using the API You can also create a knowledge base programmatically using the API [(3) ]() :
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_texts: [
 {
 text: "Hello, how are you?",
 title: "Sample Question",
 },
 ],
 knowledge_base_urls: [
 "<https://www.retellai.com%22,>
 "<https://docs.retellai.com%22,>
 ],
 knowledge_base_files: [
 fs.createReadStream("../sample.txt") ,
 ],
 }) ;
 console.log(knowledgeBaseResponse.knowledge_base_id) ;
}
main() ;
## File Support Knowledge bases support various file formats including CSV files [(1) ]() . Each knowledge base has limits of at max 25 files, with each file at max 50MB . For CSV files specifically, the row limit is 1000 rows and the column limit is 50 columns . ## Configuration Once created, you can configure the knowledge base in your agent settings [(4) ]() . The knowledge base will automatically retrieve relevant information during calls to provide additional context to the conversation [(1) ]() .
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Simplify Support with Retell AI’s Knowledge Base | Retell AI](https://www.retellai.com/blog/knowledge-base-feature) [[3] Create Knowledge Base](https://docs.retellai.com/api-references/create-knowledge-base) [[4] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy why is that failed when i tryed to upload csv
a
Thanks for the follow-up, @davidconstain_82537. I'll get back to you soon.
### Answer Based on the available sources, there are several common reasons why CSV uploads to knowledge bases might fail [(1) ]() [(2) ]() [(3) ]() : ## Common CSV Upload Issues File Format Problems: - The CSV might have formatting issues or unsupported encoding [(1) ]() - Ensure your CSV uses UTF-8 encoding - Include a header row with columns such as "question" and "answer", or "title" and "content" File Size and Structure Limits: For CSV files specifically, there are strict limits [(4) ]() : - Maximum 25 files per knowledge base - Each file must be under 50MB - CSV files have a row limit of 1000 rows and column limit of 50 columns File Extension Issues: One user experienced problems because their files had incorrect extensions - XML content with .md extensions caused processing failures [(3) ]() . Make sure your CSV file has the correct .csv extension . ## Troubleshooting Steps 1. Check file encoding - Ensure UTF-8 encoding [(1) ]() 2. Verify file size - Must be under 50MB [(4) ]() 3. Check row/column limits - Maximum 1000 rows and 50 columns for CSV 4. Remove special characters if they're causing issues [(1) ]() 5. Use proper CSV structure with clear headers If you're still experiencing issues after checking these requirements, you may wa
nt to: - Visit [Contact Sales]() - Visit [) Would you like me to try providing a general answer about CSV formatting best practices instead?
​ To learn more, see the sources I considered: [[1] Knowledge base failing repeatedly](https://discord.com/channels/1186424376300679209/1361415777365922026) [[2] Discord message from @iker_79744 on 2025-06-12](https://discord.com/channels/1186424376300679209/1294891368505937952/1382636895699210280) [[3] Knowledge base bug](https://discord.com/channels/1186424376300679209/1395139321622958160) [[4] Knowledge Base](https://docs.retellai.com/build/knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.