{"id":33242390,"url":"https://github.com/elliotone/nl-semantic-kernel-sales-analyzer","last_synced_at":"2026-05-16T04:42:53.765Z","repository":{"id":324307541,"uuid":"1096789040","full_name":"ElliotOne/nl-semantic-kernel-sales-analyzer","owner":"ElliotOne","description":"A console project showing Microsoft Semantic Kernel examples for sales data analysis using local AI models via LM Studio.","archived":false,"fork":false,"pushed_at":"2025-11-15T00:54:27.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-15T02:38:06.555Z","etag":null,"topics":["ai","csharp","data-analysis","dotnet","lm-studio","local-ai","machine-learning","semantic-kernel"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElliotOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-15T00:27:56.000Z","updated_at":"2025-11-15T00:59:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ElliotOne/nl-semantic-kernel-sales-analyzer","commit_stats":null,"previous_names":["elliotone/nl-semantic-kernel-sales-analyzer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ElliotOne/nl-semantic-kernel-sales-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElliotOne%2Fnl-semantic-kernel-sales-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElliotOne%2Fnl-semantic-kernel-sales-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElliotOne%2Fnl-semantic-kernel-sales-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElliotOne%2Fnl-semantic-kernel-sales-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElliotOne","download_url":"https://codeload.github.com/ElliotOne/nl-semantic-kernel-sales-analyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElliotOne%2Fnl-semantic-kernel-sales-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284767947,"owners_count":27060132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","csharp","data-analysis","dotnet","lm-studio","local-ai","machine-learning","semantic-kernel"],"created_at":"2025-11-16T20:01:13.071Z","updated_at":"2025-11-16T20:01:57.675Z","avatar_url":"https://github.com/ElliotOne.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nl-semantic-kernel-sales-analyzer\n\nA collection of examples demonstrating the capabilities of Microsoft Semantic Kernel for sales data analysis with local AI models via LM Studio. This project showcases various AI-driven tasks such as sales trend analysis, anomaly detection, and predictive charting using a console application built with .NET 8.0.\n\n## Prerequisites\n\n- [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) or later\n- [LM Studio](https://lmstudio.ai/) installed and running locally\n- A compatible model downloaded in LM Studio (e.g., deepseek/deepseek-r1-0528-qwen3-8b)\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/your-username/nl-semantic-kernel-sales-analyzer.git\n   cd nl-semantic-kernel-sales-analyzer\n   ```\n\n2. Restore NuGet packages:\n   ```bash\n   dotnet restore\n   ```\n\n## Setup\n\n1. **Install and Start LM Studio:**\n   - Download and install LM Studio from [lmstudio.ai](https://lmstudio.ai/)\n   - Launch LM Studio and download the required model (deepseek/deepseek-r1-0528-qwen3-8b)\n   - Start the local server in LM Studio (typically runs on http://localhost:1234)\n\n2. **Verify Model Configuration:**\n   - Ensure the model is loaded and the server is running on the expected endpoint\n   - The application is configured to connect to `http://localhost:1234/v1`\n\n## Usage\n\nRun the console application to execute all examples:\n\n```bash\ndotnet run --project SemanticKernelSalesAnalyzer\n```\n\nThe application will run four examples sequentially, demonstrating different AI capabilities for sales analysis.\n\n## Examples\n\n### Example 1: Load Sales Data\nLoads sales data from a CSV file and displays the first 5 records along with the total number of records. Demonstrates basic data loading and validation functionality.\n\n### Example 2: Analyze Sales Trends\nUses Semantic Kernel with AI to analyze sales trends from the loaded data. The AI provides insights on trends, peak periods, business metrics, and recommendations based on the historical sales data.\n\n### Example 3: Generate Sales Chart\nCreates a visual chart of the sales data using ScottPlot, including AI-generated predictions for the next 3 months. The chart is saved as 'sales_chart.png' and shows both historical and predicted sales trends.\n\n### Example 4: Detect Sales Anomalies\nPerforms statistical anomaly detection on the sales data (using standard deviation thresholds) and uses AI to analyze and explain any detected anomalies, including potential causes, business impacts, and suggested actions.\n\n## Dependencies\n\n- Microsoft.SemanticKernel v1.67.1\n- CsvHelper v33.0.1\n- ScottPlot v5.0.36\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotone%2Fnl-semantic-kernel-sales-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotone%2Fnl-semantic-kernel-sales-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotone%2Fnl-semantic-kernel-sales-analyzer/lists"}