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

Bug: Application Crashes When Querying JSON from YAML #99

Closed
amilmshaji opened this issue Oct 7, 2024 · 0 comments · Fixed by #100
Closed

Bug: Application Crashes When Querying JSON from YAML #99

amilmshaji opened this issue Oct 7, 2024 · 0 comments · Fixed by #100
Assignees
Labels
backend bug Something isn't working

Comments

@amilmshaji
Copy link
Collaborator

When querying for a JSON answer format from a YAML document, the application breaks.

Steps to Replicate:

  1. Upload a YAML file using the Document Loader plugin.
  2. Query for a JSON formatted answer, e.g., "give JSON for the configurations cluster."

Expected Solution:

  • Optimize the prompt to ensure the answer does not break the JSON format.
  • Convert the answer to a string.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser : chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant