Guide Home 1. Solution Topology 2. Aspire as 3. Shared Configuration 4. Metadata with 5. Upload API 6. Object Storage 7. Worker Ingestion 8. Extracting and 9. Literary Artifacts 10. AI Provider 11. Qdrant Vector 12. Ask Flow 13. Prompting and 14. Testing the 15. Local Development All Guides
Guide navigationIndex and chapters
Chapter 15

Local Development Notes

Commands and local URLs for running the RAG pipeline with Gemini or Ollama.

Decorative chapter image for Local Development Notes
Common local commands
dotnet build RAGPipeline.sln
dotnet test RAGPipeline.sln
dotnet run --project RAG.AppHost/RAG.AppHost.csproj

Commands and local URLs for running the RAG pipeline with Gemini or Ollama.

dotnet build RAGPipeline.sln
dotnet test RAGPipeline.sln
dotnet run --project RAG.AppHost/RAG.AppHost.csproj

With Gemini:

export GEMINI_API_KEY="your-key"
export RAG_AI_PROVIDER="Gemini"
dotnet run --project RAG.AppHost/RAG.AppHost.csproj

With local Ollama:

unset GEMINI_API_KEY
unset RAG_AI_PROVIDER
dotnet run --project RAG.AppHost/RAG.AppHost.csproj

Local URLs:

The Aspire dashboard may show local HTTPS development certificate warnings. Those are separate from the API, which is served over HTTP in this sample.

Where to go next

At this point the useful next step is not another summary page; it is running the system and inspecting its behavior. Run the tests, try /api/ask/debug, inspect RAG.Tests/Evaluation/RagEvaluationTests.cs, and experiment with chunk size, retrieval query expansion, and reranking to see how answer quality changes.