mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 05:17:41 +00:00
LLM reccomendation service
This commit is contained in:
+2
-1
@@ -61,11 +61,12 @@ builder.Services.AddHttpClient<TranscriptionService>(client =>
|
||||
client.Timeout = TimeSpan.FromMinutes(5);
|
||||
});
|
||||
|
||||
builder.Services.AddHttpClient<OllamaService>(client =>
|
||||
builder.Services.AddHttpClient<OllamaClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(builder.Configuration["Ollama:BaseUrl"] ?? "https://llm.opelly.me");
|
||||
client.Timeout = TimeSpan.FromMinutes(3);
|
||||
});
|
||||
builder.Services.AddScoped<RecommendationService>();
|
||||
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
Reference in New Issue
Block a user