Lots of groundwork and the app runs but not currently working to generate embeddings.

This commit is contained in:
2026-01-13 21:48:42 -05:00
parent 5ce3a30588
commit 98ea050bd8
11 changed files with 431 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
namespace VectorSearchApp.Configuration;
public class AppConfiguration
{
public QdrantConfiguration Qdrant { get; set; } = new();
public EmbeddingConfiguration Embedding { get; set; } = new();
public AppSettings App { get; set; } = new();
}
public class QdrantConfiguration
{
public string Host { get; set; } = "localhost";
public int GrpcPort { get; set; } = 6334;
public int HttpPort { get; set; } = 6333;
public string CollectionName { get; set; } = "addresses";
}
public class EmbeddingConfiguration
{
public string ModelName { get; set; } = "sentence-transformers/all-MiniLM-L6-v2";
public int Dimension { get; set; } = 384;
}
public class AppSettings
{
public int BatchSize { get; set; } = 10;
}