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 Report: Headers are Ignored and Data is Truncated/Jumbled in Table Parsers #1526

Open
2 tasks done
JeevaRamanathan opened this issue Dec 31, 2024 · 0 comments
Open
2 tasks done
Labels
backend help wanted Extra attention is needed python Pull requests that update Python code

Comments

@JeevaRamanathan
Copy link
Contributor

📜 Description

When parsing CSV or XML files in the application, headers are not being considered, and only the values are processed. Additionally, data sources are either jumbled or truncated for each chat, resulting in incomplete data handling. This behavior prevents effective interaction with the full file content.

👟 Reproduction steps

  1. Upload a CSV file with headers (e.g., "Country," "Demographic Pressures," etc.).
  2. Parse the file using the application.
  3. Interact with the data by asking questions referencing the headers.
    • Headers are not included.
    • Data rows are truncated or shuffled for each chat in logs (source), leading to incomplete or incorrect results.

👍 Expected behavior

  • Headers should be properly included and accessible.
  • All data rows should be retained or should be able to interact with all the data in case of large file.

👎 Actual Behavior with Screenshots

  • Headers are ignored.
  • Data rows are either jumbled or truncated, preventing access to the complete file content. The source file has more rows.
    In the same chat, interactions were made, and below are the screenshots of the sources where the data appears truncated.
    image

💻 Operating system

Windows

What browsers are you seeing the problem on?

Chrome

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • I agree to follow this project's Code of Conduct
@dartpain dartpain added help wanted Extra attention is needed python Pull requests that update Python code backend labels Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend help wanted Extra attention is needed python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

2 participants