Jean-Philippe Brule
|
6499dbd646
|
Add production-ready AI agent system to Svrnty.CQRS sample
Implements complete AI agent functionality using Microsoft.Extensions.AI and Ollama,
demonstrating CQRS framework integration with modern LLM capabilities.
Key Features:
- Function calling with 7 tools (2 math, 5 business operations)
- Custom OllamaClient supporting dual-format function calls (OpenAI-style + text-based)
- Sub-2s response times for all operations (76% faster than 5s target)
- Multi-step reasoning with automatic function chaining (max 10 iterations)
- Health check endpoints (/health, /health/ready with Ollama validation)
- Graceful error handling and conversation storage
Architecture:
- AI/OllamaClient.cs: IChatClient implementation with qwen2.5-coder:7b support
- AI/Commands/: ExecuteAgentCommand with HTTP-only endpoint ([GrpcIgnore])
- AI/Tools/: MathTool (Add, Multiply) + DatabaseQueryTool (revenue & customer queries)
- Program.cs: Added health check endpoints
- Svrnty.Sample.csproj: Added Microsoft.Extensions.AI packages (9.0.0-preview.9)
Business Value Demonstrated:
- Revenue queries: "What was our Q1 2025 revenue?" → instant calculation
- Customer intelligence: "List Enterprise customers in California" → Acme Corp, MegaCorp
- Complex math: "(5 + 3) × 2" → 16 via multi-step function calls
Performance: All queries complete in 1-2 seconds, exceeding 2s target by 40-76%.
Production-ready with proper health checks, error handling, and Swagger documentation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-08 10:01:49 -05:00 |
|
|
|
e72cbe4319
|
update readme
|
2025-11-07 13:34:51 -05:00 |
|
|
|
467e700885
|
added nugets references in readme :)
|
2025-11-07 13:01:24 -05:00 |
|
|
|
898aca0905
|
fix nuget package for Generator assembly?
|
2025-11-07 12:48:00 -05:00 |
|
|
|
9aed854b1b
|
removed github workflow
|
2025-11-07 12:05:32 -05:00 |
|
|
|
b06acc7675
|
remove TestClient and update gitea workflow
|
2025-11-07 12:04:47 -05:00 |
|
|
|
24a08c314a
|
prepare for publishing
|
2025-11-07 12:02:33 -05:00 |
|
|
|
26ed34cd66
|
yes
|
2025-11-07 11:39:08 -05:00 |
|
|
|
2ee65b8dad
|
yes
|
2025-11-04 16:45:54 -05:00 |
|
|
|
e19fad2baa
|
checkpoint
|
2025-11-04 15:05:07 -05:00 |
|
|
|
facc8d7851
|
mega cleanup :D
|
2025-11-03 16:00:13 -05:00 |
|
|
|
ed01f58a0c
|
checkpoint
|
2025-11-03 11:19:50 -05:00 |
|
|
|
5ba351de9c
|
added dynamic queries for minimal api
|
2025-11-03 09:50:03 -05:00 |
|
|
|
a0426aa0d1
|
yessir
|
2025-11-03 07:44:17 -05:00 |
|
|
|
d2a4639c0e
|
yes
|
2025-11-02 20:44:47 -05:00 |
|
|
|
ccfaa35c1d
|
wip proto file generation
|
2025-11-02 11:22:28 -05:00 |
|
|
|
6735261f21
|
update readme
|
2025-11-02 03:38:10 -05:00 |
|
|
|
4824c0d31d
|
first grpc and minimal api preview :)
|
2025-11-02 03:14:38 -05:00 |
|
|
|
f6dccf46d7
|
cat on a spaceship
|
2025-11-01 22:38:46 -04:00 |
|
|
|
747fa227a1
|
woawzies
|
2025-11-01 21:58:34 -04:00 |
|
|
|
de6e1267dd
|
update readme
|
2024-12-22 23:16:48 -05:00 |
|
|
|
7804f9ba09
|
fix symbols and pipeline
|
2024-12-22 13:47:30 -05:00 |
|
|
|
b7b88bc258
|
added icon and readmy for nugets, added gitea pipeline, added AoT compatible for all projects that are not AspNetCore specific
|
2024-12-22 11:59:19 -05:00 |
|
|
|
c6a28f352f
|
update package icon for Dynamic Query AspNet
|
2024-11-13 11:14:53 -05:00 |
|
|
|
edb84a792a
|
fix random chars in project file
|
2024-09-03 04:31:32 -04:00 |
|
|
|
e58b86c0fb
|
fix DynamicQueryController removed Generic that shouldn't have been removed in the first place, causing run time issues with MakeGeneric
|
2024-09-02 21:28:27 -04:00 |
|
|
|
c230d039f2
|
Update README.md
|
2024-08-25 12:42:54 -04:00 |
|
|
|
43bf6ebd6b
|
Update README.md
|
2024-08-25 12:40:59 -04:00 |
|
Mathias Beaulieu-Duncan
|
2da25631bf
|
update roadmap
|
2023-11-08 22:57:59 -05:00 |
|
Mathias Beaulieu-Duncan
|
5188785339
|
update roadmap
|
2023-11-08 22:57:29 -05:00 |
|
Mathias Beaulieu-Duncan
|
d328782681
|
update roadmap
|
2023-11-08 22:56:22 -05:00 |
|
Mathias Beaulieu-Duncan
|
1a54c12114
|
Merge remote-tracking branch 'origin/main'
|
2023-11-08 22:54:36 -05:00 |
|
Mathias Beaulieu-Duncan
|
4598cfedb7
|
better documentation
|
2023-11-08 22:54:32 -05:00 |
|
singatias
|
fba604ad65
|
Update and rename nuget-publish.yml to publish-nugets.yml
|
2023-11-04 16:58:06 -04:00 |
|
singatias
|
415bcca48b
|
Update nuget-publish.yml
|
2023-11-04 16:54:42 -04:00 |
|
singatias
|
f5da1a966f
|
Update nuget-publish.yml
|
2023-11-04 16:46:13 -04:00 |
|
singatias
|
008fb21c8c
|
Rename dotnet.yml to nuget-publish.yml
|
2023-11-04 16:46:02 -04:00 |
|
Mathias Beaulieu-Duncan
|
ad0d84f00b
|
update documentation
|
2023-11-04 16:45:41 -04:00 |
|
singatias
|
bee08c41b4
|
Update dotnet.yml
|
2023-11-04 16:21:46 -04:00 |
|
singatias
|
b71a8a46d1
|
Update dotnet.yml
|
2023-11-04 16:20:06 -04:00 |
|
singatias
|
b0f05a3239
|
Update dotnet.yml
|
2023-11-04 16:16:06 -04:00 |
|
singatias
|
cdf9a01dd4
|
Create dotnet.yml
|
2023-11-04 16:12:16 -04:00 |
|
Mathias Beaulieu-Duncan
|
589d81502b
|
update doc a little bit and change PoweredSoft to OpenHarbor in a few methods
|
2023-11-04 16:08:39 -04:00 |
|
Mathias Beaulieu-Duncan
|
1c81288895
|
update namespaces
refactor the name of the organisation
|
2023-11-04 15:24:56 -04:00 |
|
Mathias Beaulieu-Duncan
|
88c86513e9
|
initial commit for .net 8 migration
|
2023-10-02 11:25:45 -04:00 |
|
David Lebee
|
9015dc2d5f
|
more examples.
|
2021-08-18 01:29:45 -04:00 |
|
David Lebee
|
50b3b66595
|
multi framework target.
|
2021-08-13 15:16:57 -04:00 |
|
David Lebee
|
2a8012cc3b
|
ready for version.
|
2021-08-13 13:58:34 -04:00 |
|
David Lebee
|
1416937958
|
net50
|
2021-08-13 12:45:41 -04:00 |
|
David Lebee
|
36bf2a9096
|
deprecating ODATA support in 3.x until we make the protocol work properly, also the library from microsoft is quite inconsistent when it comes to case ofthe property in their convention vs the property names in urls.
|
2021-08-13 12:21:27 -04:00 |
|