Skip to content

Commit 77f6cfc

Browse files
committed
chore: Update WebAPI example to use InMemory storage and Gemini provider
- Change storage provider from Redis to InMemory for easier testing - Switch AI provider from Anthropic to Gemini for demonstration - Update configuration comments for clarity
1 parent 6e3a6aa commit 77f6cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/WebAPI/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ static void RegisterServices(IServiceCollection services, IConfiguration configu
5555

5656
// Add SmartRag services with minimal configuration
5757
services.UseSmartRag(configuration,
58-
storageProvider: StorageProvider.Redis, // Use Redis as requested
59-
aiProvider: AIProvider.Anthropic // Use Gemini provider
58+
storageProvider: StorageProvider.InMemory, // Use Redis as requested
59+
aiProvider: AIProvider.Gemini // Use Gemini provider
6060
);
6161

6262

0 commit comments

Comments
 (0)