Skip to content

Commit

Permalink
Fix OracleVectorStoreObservationIT bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tzolov committed Aug 20, 2024
1 parent 93fa2bf commit a3f4487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public Builder createObservationContextBuilder(String operationName) {
return VectorStoreObservationContext.builder(VectorStoreProvider.ORACLE.value(), operationName)
.withDimensions(this.embeddingModel.dimensions())
.withCollectionName(this.getTableName())
.withFieldName(getSimilarityMetric());
.withSimilarityMetric(getSimilarityMetric());
}

private static Map<OracleVectorStoreDistanceType, VectorStoreSimilarityMetric> SIMILARITY_TYPE_MAPPING = Map.of(
Expand Down

0 comments on commit a3f4487

Please sign in to comment.