App seems to be running for the first time. Can store an embedding, and can search.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user