-
Notifications
You must be signed in to change notification settings - Fork 359
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
CLI Testing Tool for Parsing Results to Standard Output #363
CLI Testing Tool for Parsing Results to Standard Output #363
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This looks great! Thanks for the contribution A few notes:
|
|
@logan-markewich Any feedback? |
|
@adreichert actually -- I pushed a rather large refactor lol |
Feel free to revert, but its mostly ensuring that the LlamaParse CLI is in sync with the actual client in terms of options |
I'm not going to make any changes. Thank you for including a CLI. I appreciate your time. |
Summary
This PR adds a simple CLI tool that wraps the
LlamaParse
constructor.It is intended to make testing easier. It's useful for quickly parsing files to see the results, visually comparing different models, or quickly inspecting JSON output to see the different fields. Hopefully, it will also help people get started with the tool more quickly. It is not intended to be complete. I've included the options I vary most of the time.
jq -r
I think others would benefit. I have a more complicated version that will fetch past jobs' results or status using job ids. I'll add more functionality to this file if this PR is approved.
Example Usage
Testing
Help Message
Example Script
Everything parsed