Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Added a custom loader for .txt files #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

casanova1510
Copy link

This PR introduces a custom text loader for .txt files. The text_loader.py script is designed to read and print the content of .txt files, providing a versatile solution for handling text-based data sources.

This loader is a valuable addition to the project, enabling support for text data sources and expanding the project's data loading capabilities.

Changes Made:

Added text_loader.py to the project.
Implemented the load_text_file function for loading .txt files.
Created a test script, test_text_loader.py, to demonstrate the functionality.

@sam-aiplanet
Copy link

Hi , Can you please create a component based implementation like we have done for other modules . You can take reference from this file on how to create a simple component that can be used in a stack . Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants