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

Support of .jsonl files implemented #816

Merged
merged 2 commits into from
Feb 4, 2025
Merged

Conversation

mulla028
Copy link
Collaborator

@mulla028 mulla028 commented Feb 3, 2025

Closes #810

Description

In #804 @tarasglek found out that we don't have a support of .jsonl files attachments, and we obviously needed to do something with it! I decided to step up and provide a support of .jsonl files, and I have no clue what else to write here because it is a tiny change, but description required :D

Result

image

@mulla028 mulla028 requested review from humphd and tarasglek February 3, 2025 22:56
@mulla028 mulla028 changed the title Support of .jsonl files provided Support of .jsonl files implemented Feb 3, 2025
Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2025

Deploying chatcraft-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8262152
Status: ✅  Deploy successful!
Preview URL: https://33f4f280.console-overthinker-dev.pages.dev
Branch Preview URL: https://mulla028-jsonl-file-support.console-overthinker-dev.pages.dev

View logs

Copy link
Collaborator

@humphd humphd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Interesting that we already have it here:

export const acceptableFileFormats =
  "image/*,text/*,.pdf,application/pdf,*.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document,.json,application/json,.jsonl,application/x-jsonlines,application/jsonl,application/markdown";

@mulla028
Copy link
Collaborator Author

mulla028 commented Feb 4, 2025

Looks good. Interesting that we already have it here:

export const acceptableFileFormats =
  "image/*,text/*,.pdf,application/pdf,*.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document,.json,application/json,.jsonl,application/x-jsonlines,application/jsonl,application/markdown";

I added it in #804 as a last commit, but it didn't work

@mulla028
Copy link
Collaborator Author

mulla028 commented Feb 4, 2025

May I land this?

@humphd
Copy link
Collaborator

humphd commented Feb 4, 2025

When CI is green, and you have a reviewer saying it's good, you can land without more permissions. Go for it

@mulla028 mulla028 merged commit 269efe4 into main Feb 4, 2025
4 checks passed
@mulla028 mulla028 deleted the mulla028/jsonl-file-support branch February 4, 2025 00:10
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.

Add Support of JSON LINES files
2 participants