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

Why are json keys rearranged after hitting "create" button? #122

Open
Tracked by #111
1of13 opened this issue Mar 29, 2024 · 1 comment
Open
Tracked by #111

Why are json keys rearranged after hitting "create" button? #122

1of13 opened this issue Mar 29, 2024 · 1 comment

Comments

@1of13
Copy link

1of13 commented Mar 29, 2024

After spending a lot of time creating a JSON schema by hand, things get rearranged as soon as you hit the "create" button on the demo site. This impairs the extraction process as the information in the document is no longer found in the order specified in the original schema. Additionally, sometimes the process fails to generate a table or JSON output—it just spins, and nothing shows up when it completes.

The same schema rearrangement occurs when using the API. Again, extraction is not optimal, as information is not retrieved as indicated in the schema, LLM instructions, and examples. Please include some examples of extraction using local files (perhaps batches) and directories in the documentation.

Thank you so much. I appreciate your hard work.

@eyurtsev
Copy link
Collaborator

Got it -- thanks for the feedback. We're using a JSONB field in the database -- I was imagining optimizing for a situation where one might want to run queries against the schemas themselves at some point. It sounds like we need another JSON field so we can store the output as is.

@eyurtsev eyurtsev mentioned this issue Mar 29, 2024
8 tasks
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

No branches or pull requests

2 participants