Ability to make changes to the VectorStore Object and have the provide adapt to it
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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"):
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...
- Ngôn ngữ chính
- C#
- Star
- 8
- Fork
- 8
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CommunityToolkit/AI
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CommunityToolkit/AI#19 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
CommunityToolkit/AI#61 ·
-
Report all Cosmos DB emulator issuesCó thể làm lại được @adamsitnik đã nhận 98 ngày trước và không có pull request nào đang mở. Đang mở
CommunityToolkit/AI#23 · 1 người được giao ·
-
Make Azure SQL tests conditionalĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
CommunityToolkit/AI#20 ·
-
Add VisionLMOcrClient: an IOcrClient backed by a vision-capable IChatClientCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
CommunityToolkit/AI#13 · 1 bình luận ·
Tất cả issue của CommunityToolkit/AI
Issue tương tự
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug misleading tooling trivial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs example projects pinned to a literal library version instead of 3.*Có thể đã có người làm @DaveSkender đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
facioquo/stock-indicators-dotnet#2372 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] officecli-docx SKILL.md still describes `\n` as a soft line break after #262Có thể đã có người làm @giprime đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Facepunch/sbox-public#12097 ·
Maintainer thường phản hồi trong vòng 2 ngày