Closed himanshugt16 closed 1 month ago
The changes introduce new functionalities to the Kairon framework, specifically enhancing document content management. Two new API endpoints are added: one for uploading document content and another for downloading error reports in CSV format. Additionally, significant improvements are made to document validation processes and logging capabilities. New methods for validating document schemas and handling errors are implemented, along with corresponding integration and unit tests to ensure robustness. Overall, these modifications enhance the framework's capabilities for managing document content and improving error handling.
File Path | Change Summary |
---|---|
kairon/api/app/routers/bot/data.py |
Added endpoints for uploading document content and downloading error reports. |
kairon/shared/data/processor.py |
Introduced methods for validating document schemas and logging validation results. |
requirements/prod.txt |
Added google-generativeai dependency for enhanced data handling. |
system.yaml |
Introduced configuration for content importing limits and new event types. |
tests/integration_test/services_test.py |
Added tests for document content upload and error handling. |
tests/unit_test/data_processor/data_processor_test.py |
Enhanced tests for document validation and error handling scenarios. |
upload_doc_content
endpoint introduced in the main PR.🐰 In the realm of data, we leap and bound,
With uploads and downloads, new features abound!
Errors now tracked in a neat little file,
Kairon's enhancements make us all smile.
So gather your carrots, let's hop with glee,
For content management is as sweet as can be! 🥕✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Release Notes
New Features
Enhancements
Bug Fixes
Tests