dotnet / eShopSupport

A reference .NET application using AI for a customer support ticketing system
MIT License
246 stars 58 forks source link

eShopSupport

A sample .NET application showcasing common use cases and development practices for build AI solutions in .NET (Generative AI, specifically). This sample demonstrates a customer support application for an e-commerce website using a services-based architecture with .NET Aspire. It includes support for the following AI use cases:

This sample also demonstrates the following development practices:

Architecture

image

Getting Started

Prerequisites

Windows with Visual Studio

Mac, Linux, & Windows without Visual Studio

Install Python requirements

From the Terminal, at the root of the cloned repo, run:

pip install -r src/PythonInference/requirements.txt

Note: If the above command doesn't work on Windows, use the following command:

py -m pip install -r src/PythonInference/requirements.txt

Running the solution

[!WARNING] Remember to ensure that Docker is started.

You may need to install ASP.NET Core HTTPS development certificates first, and then close all browser tabs. Learn more at https://aka.ms/aspnet/https-trust-dev-cert

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Sample data

The sample data is defined in seeddata. All products/descriptions/brands, manuals, customers, and support tickets names are fictional and were generated using GPT-35-Turbo using the included DataGenerator project.