Skip to content

Commit

Permalink
FIX: Use user's chart guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
sanand0 committed Nov 28, 2024
1 parent d8a465b commit 6f98f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Question: ${$tablesContainer.querySelector('[name="query"]').value}
// First 3 rows of result
data = ${JSON.stringify(latestQueryResult.slice(0, 3))}
$result.querySelector("#chart-input").value
IMPORTANT: ${$result.querySelector("#chart-input").value}
`;
render(loading, $chartCode);
const result = await llm({ system, user });
Expand Down

0 comments on commit 6f98f51

Please sign in to comment.