Background service for chunking and embedding data - #756
Conversation
|
Still in progress |
| public DataSourceSecurity SecurityPolicy { get; init; } = DataSourceSecurity.NOT_SPECIFIED; | ||
|
|
||
| /// <inheritdoc /> | ||
| public ConfidenceLevel ComplianceLevel { get; init; } = ConfidenceLevel.UNKNOWN; |
There was a problem hiding this comment.
Let's please call the setting confidence level everywhere. Especially in the config plugin.
|
|
||
| public DataAgentRetrievalContextValidation AgentRetrievalContextValidation { get; init; } = new(); | ||
|
|
||
| public DataDataSourceIndexing DataSourceIndexing { get; init; } = new(); |
There was a problem hiding this comment.
Please move this into the app settings.
| } | ||
|
|
||
| <ThirdPartyComponent Name="Qdrant Edge" Developer="Andrey Vasnetsov, Tim Visée, Arnaud Gourlay, Luis Cossío, Ivan Pleshkov, Roman Titov, xzfc, JojiiOfficial & Open Source Community" LicenseName="Apache-2.0" LicenseUrl="https://github.com/qdrant/qdrant/blob/master/LICENSE" RepositoryUrl="https://github.com/qdrant/qdrant" UseCase="@T("Qdrant Edge is an embedded vector database and vector similarity search engine. We use it to realize local RAG—retrieval-augmented generation—within AI Studio. Thanks for the effort and great work that has been and is being put into Qdrant.")"/> | ||
| <ThirdPartyComponent Name="SQLite" Developer="SQLite developers & Open Source Community" LicenseName="Public Domain" LicenseUrl="https://www.sqlite.org/copyright.html" RepositoryUrl="https://www.sqlite.org/src/" UseCase="@T("SQLite stores local RAG indexing metadata, searchable chunk text, and the file fingerprints used to decide whether local files need to be indexed again, without requiring a separate database server or a system SQLite installation.")"/> |
There was a problem hiding this comment.
Please mention the developers by name, thank you.
| <PackageReference Include="MudBlazor" Version="8.15.0" /> | ||
| <PackageReference Include="MudBlazor.Markdown" Version="8.11.0" /> | ||
| <PackageReference Include="ReverseMarkdown" Version="5.0.0" /> | ||
| <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.10" /> |
There was a problem hiding this comment.
We should use the newest 3.x release
| <ItemGroup> | ||
| <PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="8.3.0" /> | ||
| <PackageReference Include="HtmlAgilityPack" Version="1.12.4" /> | ||
| <PackageReference Include="Microsoft.Data.Sqlite.Core" Version="9.0.9" /> |
There was a problem hiding this comment.
I assume there is a 9.0.18 version?
| public enum DatabaseRole | ||
| { | ||
| VECTOR_STORE, | ||
| EMBEDDING_STATE, |
There was a problem hiding this comment.
Rename to e.g., INDEX_STORE or something like that.
|
|
||
| namespace AIStudio.Tools.Databases.EmbeddingState; | ||
|
|
||
| public abstract class EmbeddingStateClient(string name, string path) : DatabaseClient(name, path) |
There was a problem hiding this comment.
Should be renamed according to DataBaseRole.
| public abstract Task DeleteDataSourceAsync(string dataSourceId, CancellationToken token); | ||
| } | ||
|
|
||
| public sealed record EmbeddingStateFile( |
There was a problem hiding this comment.
Please move all individual data classes into their own files.
|
|
||
| namespace AIStudio.Tools.Databases.EmbeddingState; | ||
|
|
||
| public sealed class SqliteEmbeddingStateClientImplementation( |
There was a problem hiding this comment.
Please re-format lines like this, so we use the typical screen width (~170 chars).
No description provided.