Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ability to make changes to the VectorStore Object and have the provide adapt to it

オープン
#59 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, sql
領域
database

調査の方向性

Start by reading the provider implementations of EnsureCollectionExistsAsync and how they map vector model properties to collection schemas. Compare what schema changes each provider can support, especially adding a data property to an existing collection. The issue is addressed when the supported behavior and handling of existing records are defined and implemented, with tests covering the relevant provider cases.

索引モデルが issue の本文から書いたものです。

説明

Hi... Thank you for MEVD... Been a long time user

I use it primarily with MSSQL and one thing that have always been an annoyance is that you are "stuck" with the current schema once you call collection.EnsureCollectionExistsAsync();

So example if i have

public class VectorModel
{
    [VectorStoreKey]
    public required string Id { get; set; }

    [VectorStoreData]
    public required string Question { get; set; }

    [VectorStoreData]
    public required string Answer { get; set; }

    [VectorStoreVector(1536)]
    public string? Vector => $"""
                              <knowledgeBaseEntry>
                                 <question>{Question}</question>
                                 <answer>{Answer}</answer>
                              </knowledgeBaseEntry>
                              """;
}

I the EnsureCollectionExistsAsync create this table (given you name it "myCollection"):

Image

But then lets say I later find out I want to have a TimeStamp Property aka

    [VectorStoreData]
    public required DateTime TimeStamp { get; set; }

then I'm currently forced to delete the table and recreate it (or manually manipulate the Table's design with the new column) before MEVD will work again.

I completely understand that this is not a trivial thing to do (example, what to put as value for existing records for new properties) across all the providers and some of them it might even be impossible, but want to throw it out there...

主要言語
C#
スター
8
フォーク
8
平均マージ
2日 14時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/AI のほかの issue

CommunityToolkit/AI の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。