Loading repository data…
Loading repository data…
Slygriyrsk / repository
An advanced AI-powered assistant integrating conversational intelligence with dynamic data visualization. Built with React, TypeScript, and Google's Gemini API, it features a refined UI with ShadCN/UI, Framer Motion, robust state management, a debugger with state-action logs, and AI-driven code generation and data export.
SABOT AI is a sophisticated AI assistant platform that combines conversational capabilities with powerful data visualization tools. Built with React, TypeScript, and integrated with Google's Gemini API, this application provides an intuitive interface for AI-powered chat interactions, code generation, and data analysis.
sabot-ai/
├── public/
│ ├── user-avatar.png
│ └── ai-avatar.png
├── src/
│ ├── components/
│ │ ├── ui/ # shadcn/ui components
│ │ ├── CodeBlock.tsx # Code generation component
│ │ ├── CustomTooltip.tsx # Enhanced chart tooltips
│ │ ├── DataFilter.tsx # Data filtering component
│ │ ├── DataVisualization.tsx # Data visualization component
│ │ └── Loading.tsx # Loading animation component
│ ├── data/
│ │ └── leukemia_risk.csv # Sample dataset
│ ├── hooks/
│ │ └── use-toast.ts # Toast hook
│ ├── lib/
│ │ └── utils.ts # Utility functions
│ ├── App.tsx # Main application component
│ ├── index.css # Global styles
│ └── main.tsx # Entry point
├── .env.local # Environment variables (not in repo)
├── package.json # Dependencies
├── tailwind.config.js # Tailwind configuration
├── tsconfig.json # TypeScript configuration
└── vite.config.ts # Vite configuration
1. Clone the repository:
git clone https://github.com/Slygriyrsk/advanced-AIGPT.git
cd advanced-AIGPT
2. Install dependencies:
npm install
or
yarn install
3. Create a .env.local file in the root directory with your Gemini API key:
VITE_GEMINI_API_KEY=your_gemini_api_key_here
4. Start the development server:
npm run dev
or
yarn dev
5. Open your browser and navigate to http://localhost:5173
1. Install the React Developer Tools extension for your browser 2. Use the Components tab to inspect and modify component state 3. Use the Profiler tab to identify performance bottlenecks
1. Install the "Debugger for Chrome" extension in VS Code
2. Create a .vscode/launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}"
}
]
}
3. Set breakpoints in your code
4. Press F5 to start debugging
MIT License