feat #565: add vector knowledge ingestion demo

This commit is contained in:
devmrko
2026-06-29 18:11:16 +09:00
parent c7b11ab669
commit 4ba6a57835
18 changed files with 847 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
package com.cloudhandson.vpdbackoffice.domain.vector;
public record VectorChunk(int chunkNo, String text) {
}

View File

@@ -0,0 +1,12 @@
package com.cloudhandson.vpdbackoffice.domain.vector;
public record VectorIngestCommand(
String documentId,
String title,
String sourceUri,
String content,
String techTags,
int chunkSize,
String embeddingMode
) {
}

View File

@@ -0,0 +1,10 @@
package com.cloudhandson.vpdbackoffice.domain.vector;
public record VectorIngestResult(
String documentId,
int chunkCount,
int tagCount,
String embeddingMode,
String embeddingModel
) {
}

View File

@@ -0,0 +1,10 @@
package com.cloudhandson.vpdbackoffice.domain.vector;
public record VectorKnowledgeSummary(
int documentCount,
int chunkCount,
int tagCount,
boolean vectorObjectRegistered,
String embeddingModel
) {
}

View File

@@ -0,0 +1,11 @@
package com.cloudhandson.vpdbackoffice.domain.vector;
import com.cloudhandson.vpdbackoffice.domain.probe.ProbeResult;
public record VectorSearchResult(
String query,
String embeddingMode,
String embeddingModel,
ProbeResult probe
) {
}