#172 — [Bug]: difficult to generate a comparison chart in chat

Repo: Twill-AI/twill-llm-engine State: closed | Status: done Assignee: meliascosta

Created: 2024-10-22 · Updated: 2025-01-09

Description

Steps to reproduce

To reproduce:

  1. In staging login under username mike+test2@twillpayments.com
  2. Navigate to “Quickbooks dash 1”
  3. review chat history, or attempt to get a year over year comparison
  4. my initial request was, ” show me a line chart of net income by month compared to last year the same period

What was the expected behavior?

give me a line chart where the x axis were months january - September, with two lines on top of one another with 2024 data and one with 2023 data for comparison.

https://fluffy-winner-lm32gle.pages.github.io/dashboards?id=2

Screenshots

Below are the 5 attempts I made at generating this specific chart and none of them succeeded.

Screenshot 2024-10-22 at 11 37 25 AM Screenshot 2024-10-22 at 11 37 33 AM

Screenshot 2024-10-22 at 11 37 42 AM Screenshot 2024-10-22 at 11 37 49 AM Screenshot 2024-10-22 at 11 37 58 AM

6th attempt was still incorrect but stacked the lines at least:

![Screenshot 2024-10-22 at 11 38 45 AM](https://github.com/user-attachments/assets/bb6bec5a-e4a8-4ea8-a45a-7fab5e

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets