Package ai.pipestream.data.v1
Interface SemanticProcessingResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SemanticProcessingResult,SemanticProcessingResult.Builder
@Generated
public interface SemanticProcessingResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Processing run metadata (e.g., model version, execution time).Identifier for the chunking configuration used.com.google.protobuf.ByteStringIdentifier for the chunking configuration used.getChunks(int index) List of semantic chunks with embeddings from this configuration.intList of semantic chunks with embeddings from this configuration.List of semantic chunks with embeddings from this configuration.getChunksOrBuilder(int index) List of semantic chunks with embeddings from this configuration.List<? extends SemanticChunkOrBuilder> List of semantic chunks with embeddings from this configuration.Identifier for the embedding model/configuration used.com.google.protobuf.ByteStringIdentifier for the embedding model/configuration used.Deprecated.intProcessing run metadata (e.g., model version, execution time).Processing run metadata (e.g., model version, execution time).com.google.protobuf.ValuegetMetadataOrDefault(String key, com.google.protobuf.Value defaultValue) Processing run metadata (e.g., model version, execution time).com.google.protobuf.ValuegetMetadataOrThrow(String key) Processing run metadata (e.g., model version, execution time).Unique identifier for this result set.com.google.protobuf.ByteStringUnique identifier for this result set.Generated name for this result set.com.google.protobuf.ByteStringGenerated name for this result set.Name of the PipeDoc field that was processed.com.google.protobuf.ByteStringName of the PipeDoc field that was processed.booleanGenerated name for this result set.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResultId
String getResultId()Unique identifier for this result set.
string result_id = 1 [json_name = "resultId"];- Returns:
- The resultId.
-
getResultIdBytes
com.google.protobuf.ByteString getResultIdBytes()Unique identifier for this result set.
string result_id = 1 [json_name = "resultId"];- Returns:
- The bytes for resultId.
-
getSourceFieldName
String getSourceFieldName()Name of the PipeDoc field that was processed. Examples: "body", "title", "abstract"
string source_field_name = 2 [json_name = "sourceFieldName"];- Returns:
- The sourceFieldName.
-
getSourceFieldNameBytes
com.google.protobuf.ByteString getSourceFieldNameBytes()Name of the PipeDoc field that was processed. Examples: "body", "title", "abstract"
string source_field_name = 2 [json_name = "sourceFieldName"];- Returns:
- The bytes for sourceFieldName.
-
getChunkConfigId
String getChunkConfigId()Identifier for the chunking configuration used. Examples: "sentence_splitter_v1", "token_chunker_512_overlap_50"
string chunk_config_id = 3 [json_name = "chunkConfigId"];- Returns:
- The chunkConfigId.
-
getChunkConfigIdBytes
com.google.protobuf.ByteString getChunkConfigIdBytes()Identifier for the chunking configuration used. Examples: "sentence_splitter_v1", "token_chunker_512_overlap_50"
string chunk_config_id = 3 [json_name = "chunkConfigId"];- Returns:
- The bytes for chunkConfigId.
-
getEmbeddingConfigId
String getEmbeddingConfigId()Identifier for the embedding model/configuration used. Examples: "ada_002_v1", "minilm_l6_v1"
string embedding_config_id = 4 [json_name = "embeddingConfigId"];- Returns:
- The embeddingConfigId.
-
getEmbeddingConfigIdBytes
com.google.protobuf.ByteString getEmbeddingConfigIdBytes()Identifier for the embedding model/configuration used. Examples: "ada_002_v1", "minilm_l6_v1"
string embedding_config_id = 4 [json_name = "embeddingConfigId"];- Returns:
- The bytes for embeddingConfigId.
-
hasResultSetName
boolean hasResultSetName()Generated name for this result set. Used as field name prefix in search indexes or for UI display/selection. Examples: "body_chunks_ada_002", "title_sentences_minilm"
optional string result_set_name = 5 [json_name = "resultSetName"];- Returns:
- Whether the resultSetName field is set.
-
getResultSetName
String getResultSetName()Generated name for this result set. Used as field name prefix in search indexes or for UI display/selection. Examples: "body_chunks_ada_002", "title_sentences_minilm"
optional string result_set_name = 5 [json_name = "resultSetName"];- Returns:
- The resultSetName.
-
getResultSetNameBytes
com.google.protobuf.ByteString getResultSetNameBytes()Generated name for this result set. Used as field name prefix in search indexes or for UI display/selection. Examples: "body_chunks_ada_002", "title_sentences_minilm"
optional string result_set_name = 5 [json_name = "resultSetName"];- Returns:
- The bytes for resultSetName.
-
getChunksList
List<SemanticChunk> getChunksList()List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6 [json_name = "chunks"]; -
getChunks
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6 [json_name = "chunks"]; -
getChunksCount
int getChunksCount()List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6 [json_name = "chunks"]; -
getChunksOrBuilderList
List<? extends SemanticChunkOrBuilder> getChunksOrBuilderList()List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6 [json_name = "chunks"]; -
getChunksOrBuilder
List of semantic chunks with embeddings from this configuration.
repeated .ai.pipestream.data.v1.SemanticChunk chunks = 6 [json_name = "chunks"]; -
getMetadataCount
int getMetadataCount()Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7 [json_name = "metadata"]; -
containsMetadata
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7 [json_name = "metadata"]; -
getMetadataOrDefault
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7 [json_name = "metadata"]; -
getMetadataOrThrow
Processing run metadata (e.g., model version, execution time).
map<string, .google.protobuf.Value> metadata = 7 [json_name = "metadata"];
-