Skip to content

Commit

Permalink
feat: update suggestion prompts for candidate queries in dashboard bot
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyan540 committed Jan 7, 2025
1 parent 72093e5 commit 508e74d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/pages/Dashboard/bot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ const BioreactorBOT = () => {
const [tableData, setTableData] = useState<any[]>([]);
const [showSuggestions, setShowSuggestions] = useState(false); // State to show/hide suggestions
const [suggestions] = useState([
"What are the npd name and statuses of all NPDs?",
"Which npd had more score",
"what are the available business unit?"
"List all candidates with their names and status.",
"What is the selection month of candidate 'Moravaneni Sribhargavi'?",
"Show me the selection date and candidate name."
]); // Suggested questions
const [currentIndex, setCurrentIndex] = useState<number | null>(null); // Track the current selected query index

Expand Down

0 comments on commit 508e74d

Please sign in to comment.