feat #565: add vector knowledge ingestion demo
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package com.cloudhandson.vpdbackoffice.domain.vector;
|
||||
|
||||
public record VectorChunk(int chunkNo, String text) {
|
||||
}
|
||||
@@ -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
|
||||
) {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.cloudhandson.vpdbackoffice.domain.vector;
|
||||
|
||||
public record VectorIngestResult(
|
||||
String documentId,
|
||||
int chunkCount,
|
||||
int tagCount,
|
||||
String embeddingMode,
|
||||
String embeddingModel
|
||||
) {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.cloudhandson.vpdbackoffice.domain.vector;
|
||||
|
||||
public record VectorKnowledgeSummary(
|
||||
int documentCount,
|
||||
int chunkCount,
|
||||
int tagCount,
|
||||
boolean vectorObjectRegistered,
|
||||
String embeddingModel
|
||||
) {
|
||||
}
|
||||
@@ -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
|
||||
) {
|
||||
}
|
||||
Reference in New Issue
Block a user