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

feat: custom rag document loaders #650

Merged
merged 1 commit into from
Jun 26, 2024
Merged

feat: custom rag document loaders #650

merged 1 commit into from
Jun 26, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jun 26, 2024

# Defines document loaders
rag_document_loaders:
  # You can add more loaders, here is the syntax:
  # <file-extension>: <command-to-load-the-file>
  pdf: 'pdftotext $1 -'                     # Load .pdf file 
  docx: 'pandoc --to plain $1'              # Load .docx file

@sigoden sigoden merged commit 95bad97 into main Jun 26, 2024
3 checks passed
@sigoden sigoden deleted the feat branch June 26, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant