post https://api.edenai.run/v2/aiproducts/askyoda/v2//add_file
This endpoint enables you to upload files (CSV, AUDIO, PDF, or XML) into your project.
Upon upload, the file will be processed and stored as text embeddings within the project's database.
Supported File Types
- CSV: Comma-separated values files.
- Audio: Supported audio formats for transcription to text.
- PDF: Portable Document Format files.
- XML: Extensible Markup Language files.
OCR Processing and Speech-to-Text
If the uploaded file is a PDF, it will undergo Optical Character Recognition (OCR) processing using the default provider chosen during the project creation step.
Similarly, audio files will be converted to text using Speech-to-Text, also utilizing the default provider configured during project setup.
Accepted File Extensions
- CSV
- AMR
- FLAC
- WAV
- OGG
- MP3
- MP4
- WEBM
- XML