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

Adding fix per comment on Issue-692 #1255

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

sbhuttan
Copy link
Contributor

@sbhuttan sbhuttan commented Oct 7, 2024

Description

This fix is related to issue 692.

Instead of using > operator, that includes everything returned from the website, -o should be used for downloading the file. Changing to -o attribute fixes the error.

Related Issues

[Reference any related issues or tasks that this pull request addresses.]

Proposed Changes

Change this -
curl https://www.gutenberg.org/cache/epub/24022/pg24022.txt > ./ragtest/input/book.txt
To this -
curl https://www.gutenberg.org/cache/epub/24022/pg24022.txt -o ./ragtest/input/book.txt

Checklist

  • [N/A] I have tested these changes locally.
  • [Yes] I have reviewed the code changes.
  • [Yes] I have updated the documentation (if necessary).
  • [N/A] I have added appropriate unit tests (if applicable).

Additional Notes

[Add any additional notes or context that may be helpful for the reviewer(s).]

@sbhuttan sbhuttan requested review from a team as code owners October 7, 2024 17:33
@AlonsoGuevara AlonsoGuevara merged commit cd4f1fa into microsoft:main Oct 9, 2024
9 of 13 checks passed
Connor2573 pushed a commit to Connor2573/graphrag that referenced this pull request Oct 10, 2024
Co-authored-by: Josh Bradley <joshbradley@microsoft.com>
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
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.

3 participants