Skip to content

Commit 760e49b

Browse files
committed
docs: Clarify QdrantPoint ID requirement in comment
1 parent 49b6fc8 commit 760e49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface OllamaGenerateResponse {
101101
// Modify the existing QdrantPoint interface:
102102
// Replace the existing QdrantPoint interface with this:
103103
export interface QdrantPoint {
104-
id: string; // Ensure unique IDs, e.g., `file:${filepath}:chunk:${index}`, `commit:${oid}`, `diff:${commit_oid}:${filepath}:chunk:${index}`
104+
id: string; // Must be a UUID. Original identifying info (filepath, commit, etc.) is in payload.
105105
vector: number[];
106106
payload: FileChunkPayload | CommitInfoPayload | DiffChunkPayload;
107107
}

0 commit comments

Comments
 (0)