App seems to be running for the first time. Can store an embedding, and can search.

This commit is contained in:
2026-01-13 22:59:38 -05:00
parent 98ea050bd8
commit 4dac36605b
9 changed files with 589 additions and 20 deletions

View File

@@ -21,6 +21,16 @@ configuration.GetSection("App").Bind(appConfig.App);
// Initialize services
Console.WriteLine("Initializing services...");
var embeddingService = new EmbeddingService(appConfig.Embedding);
// Check if HuggingFace API token is configured
if (string.IsNullOrEmpty(appConfig.Embedding.ApiToken))
{
Console.WriteLine("Warning: HuggingFace API token is not configured.");
Console.WriteLine("The application may have limited functionality without authentication.");
Console.WriteLine("To get a free token, visit: https://huggingface.co/settings/tokens");
Console.WriteLine();
}
IQdrantService? qdrantService = null;
try