.NET: Microsoft Technologies based on the .NET software framework. Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
Hi @mc ,
Thanks for reaching out.
I would start with Microsoft.Extensions.AI as the main foundation. It gives you a clean .NET abstraction for chat and embeddings, and it keeps things flexible if you want to switch between OpenAI, Azure OpenAI, or another provider later.
For the overall approach, I would not start with model training. The more suitable path is to use an existing model with a retrieval flow, where you chunk your book content, create embeddings, store them, and then retrieve the most relevant passages when a user asks a question.
The approachable way to begin is with a small prototype first, ideally outside of MAUI, just to validate the ingestion, embeddings, retrieval, and answer generation flow. Once that is working, you can plug the same pipeline into your MAUI app much more easily.
So if you are deciding which repo or package to use first, I would use Microsoft.Extensions.AI and treat provider-specific SDKs like OpenAI.Net as implementation details underneath it.
Hope this helps! If my answer was helpful, I would greatly appreciate it if you could follow the instructions here so others with the same problem can benefit as well.