Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Loader Request #50

Closed
converseKarl opened this issue May 11, 2024 · 1 comment
Closed

CSV Loader Request #50

converseKarl opened this issue May 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@converseKarl
Copy link

Should be quick and easy to add from Langchain with wrapper with following parameter, file, delimiter, quoteChat, field name string array of strings.

loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv', csv_args={
'delimiter': ',',
'quotechar': '"',
'fieldnames': ['MLB Team', 'Payroll in millions', 'Wins']
})

data = loader.load()

@adhityan adhityan added the enhancement New feature or request label May 11, 2024
@adhityan
Copy link
Collaborator

adhityan commented Oct 9, 2024

CSVLoader is now added. Check out the documentation at https://llm-tools.mintlify.app/components/data-sources/csv.

@adhityan adhityan closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants