This is a simple .NET-based AI app that uses Microsoft.Extensions.AI to query a structured invoice dataset using tool/function calls.
- .NET 9
- OpenAI API key(Can also use Llama, AzureOpenAi)
- Visual Studio or VS Code
- Clone this repo
- Replace
appsettings.json
or builder code with your API keys:"OpenAi": { "Key": "your-openai-key" }
- Run the app:
dotnet run
- Compare Q1 and Q2 sales
- Where is most of my money coming from?
- Who are my highest paying customers?