[FEATURE] Add DuckDB EmbeddingStore implementation (#2183) #47
main.yaml
on: pull_request
compliance
32s
Matrix: java_build
Annotations
5 errors
DuckDBEmbeddingStoreIT.should_find_with_min_score:
embedding-stores/langchain4j-community-duckdb/src/test/java/dev/langchain4j/store/embedding/duckdb/DuckDBEmbeddingStoreIT.java#L1
Expected size: 2 but was: 1 in:
[EmbeddingMatch { score = 0.9999999999999999, embedded = null, embeddingId = b3ad2332-d731-4d2c-bea9-d05f8d3f8f8f, embedding = Embedding { vector = [-0.075626835, 0.047543436, 0.03647792, 0.09108457, -0.070778824, -0.08546269, 0.065225616, 0.014397461, -0.06560297, -0.04260569, 0.008854983, -0.007350972, -5.375818E-4, -0.05324175, 0.03131526, -0.007941296, 0.027483733, -0.025884401, -0.107509166, 0.010838688, -0.061516624, 0.022915235, -0.040512417, 0.023764474, -0.054408338, -0.04162364, 0.025830297, 0.061269216, 0.027940989, -0.076314054, 0.045291983, 0.0138309775, 0.070944965, 0.007874881, 0.014472685, 0.08111595, -0.08591867, -0.06789311, 0.033050373, -0.023039876, -0.008385407, -0.06653044, -0.0036333245, -0.023124482, 0.030348646, -0.038040243, 0.011102412, 0.0621266, 0.07037534, -0.012659548, -0.053324647, -0.0902664, -0.029157687, 0.030049779, 0.13342986, 0.028615346, -0.040246084, -0.02082908, 0.046929356, -0.05013456, -0.024994928, 0.045677956, -0.08113975, -0.024328021, 0.02822082, -0.036717575, -0.088566676, -0.06832763, -0.036885962, -0.07538926, -0.034304094, 0.018230554, -0.04403331, -8.18166E-5, -0.03771625, 0.015949525, 0.036202546, -0.0070556556, 0.007271363, 0.003177056, 0.041765228, -0.065394305, -0.049024053, 0.007359482, 0.018168977, 0.0013096788, 0.02440296, 0.07333631, -0.014911038, 0.028259413, -0.0646811, 0.047649056, 0.03599557, -0.013128082, -0.099996574, -0.027543074, 0.089807, -0.0042617694, -0.12117841, 0.30813494, 0.058272023, 0.080288306, 0.011275885, 0.026647361, -0.0012659682, 0.0067854878, -0.07761356, 0.025967496, -0.02440242, 0.0061328136, -0.0056318007, -0.038837913, -0.01915711, 0.009251955, 0.09100154, 0.022263937, 0.0024403166, 0.055937156, 0.018148143, -0.016189631, 0.0038877586, -0.00980684, -0.0011725351, -0.0071339123, -0.0019529115, 0.027144426, 0.02789701, -5.8018845E-33, 0.0596128, -0.029919641, 0.027299242, 0.16664703, -0.034238786, 0.0019981249, -0.057564326, -0.053389583, 0.02752349, 0.051367488, 0.028376872, 0.054124355, -0.032552946, 0.045456845, 0.017254522, 0.08112004, -0.032185227, 0.044363268, -0.0244293, 0.04239182, -0.05888979, 0.0021197668, 0.009254325, 0.09289415, 0.053032994, -0.03888609, 0.017491724, -0.11402172, 0.052535545, 0.024639256, -0.019266635, -0.05269239, 0.010217976, 0.034891, 0.021857148, 0.01564527, -0.009534364, -0.061304335, -0.045343168, -0.0019074669, -0.04328149, 0.029429382, 0.020834787, -0.023453966, 0.02995943, 6.384957E-5, 0.0042230906, 0.018510684, 0.0013990348, 0.03510381, -0.059758533, 0.020267067, -0.14895226, 0.036921266, -0.012013607, -0.013420569, -0.025732499, -0.04793673, 0.04889626, 0.025853021, 0.039182372, 0.12265197, -0.039883383, -0.002112642, -0.079640724, -0.04775397, 0.025750501, 0.0017676564, 0.07103497, -0.032074723, -0.040873725, -0.005235362, 0.014868358, 0.036575686, 0.0049243495, 0.037661687, 0.024102809, 0.00582992, 0.026060695, -0.045275845, 0.0022726534, 0.048079237, -0.03409812, 0.013611534, 0.03709436, 0.06333642, -0.032872617, -0.08041124, -0.018524386, -0.047376964, -0.07766557, 0.026718782, 0.067677855, 0.0076977997, -0.0110900365, 4.582732E-33, 0.117205, 0.07633478, -0.100467786, -0.025534116, -0.051690694, -0.01477172, -0.010955172, 0.11814897, -0.13063246, 0.023103304, 0.026772011, -2.9122413E-4, 0.057871096, 0.03759469, 0.056596022, 0.015871136, 0.13295776, 0.05235842, -0.04077032, -0.03883434, -0.06557084, 0.0064516123, -0.047738615, -0.0154672135, -0.010942953, -0.013376596, 0.0057598664, 0.05789168, -0.096759036, -0.027082972, 0.09241545, 0.020923091, 0.0033041467, 0.04000934, 0.017952962, 0.088295646, 0.028115712, -0.06522388, 0.027978305, -0.073862925, -0.030443756, 0.05044819, 0.010673844, 0.11468754, -0.027526949, -0.05840002, -0.018693343, 0.027316678, -0.02662916, 0.024812235, -0.08706784, -0.05072319, 0.032208346, 0.020485254, -0.011959783, 0.022542534, -0.021708852, 0.03558343, -0.0036115693, -0.02753652, 0.010572087, 0.07337264, 0.036062066, 0.07907583, -0.023981798, 0.030935371, -0.02429317, 0.0020298655, 0.019218333, -0.04140804, 0.03425438, -0.00521686, -0
|
java_build (21)
Process completed with exit code 1.
|
java_build (17)
The job was canceled because "_21" failed.
|
java_build (17)
Process completed with exit code 1.
|
DuckDBEmbeddingStoreIT.should_find_with_min_score:
embedding-stores/langchain4j-community-duckdb/src/test/java/dev/langchain4j/store/embedding/duckdb/DuckDBEmbeddingStoreIT.java#L1
Expected size: 2 but was: 1 in:
[EmbeddingMatch { score = 0.9999999999999999, embedded = null, embeddingId = d6d3fdc4-5508-4b19-bcd7-337a0c951940, embedding = Embedding { vector = [-0.075626835, 0.047543436, 0.03647792, 0.09108457, -0.070778824, -0.08546269, 0.065225616, 0.014397461, -0.06560297, -0.04260569, 0.008854983, -0.007350972, -5.375818E-4, -0.05324175, 0.03131526, -0.007941296, 0.027483733, -0.025884401, -0.107509166, 0.010838688, -0.061516624, 0.022915235, -0.040512417, 0.023764474, -0.054408338, -0.04162364, 0.025830297, 0.061269216, 0.027940989, -0.076314054, 0.045291983, 0.0138309775, 0.070944965, 0.007874881, 0.014472685, 0.08111595, -0.08591867, -0.06789311, 0.033050373, -0.023039876, -0.008385407, -0.06653044, -0.0036333245, -0.023124482, 0.030348646, -0.038040243, 0.011102412, 0.0621266, 0.07037534, -0.012659548, -0.053324647, -0.0902664, -0.029157687, 0.030049779, 0.13342986, 0.028615346, -0.040246084, -0.02082908, 0.046929356, -0.05013456, -0.024994928, 0.045677956, -0.08113975, -0.024328021, 0.02822082, -0.036717575, -0.088566676, -0.06832763, -0.036885962, -0.07538926, -0.034304094, 0.018230554, -0.04403331, -8.18166E-5, -0.03771625, 0.015949525, 0.036202546, -0.0070556556, 0.007271363, 0.003177056, 0.041765228, -0.065394305, -0.049024053, 0.007359482, 0.018168977, 0.0013096788, 0.02440296, 0.07333631, -0.014911038, 0.028259413, -0.0646811, 0.047649056, 0.03599557, -0.013128082, -0.099996574, -0.027543074, 0.089807, -0.0042617694, -0.12117841, 0.30813494, 0.058272023, 0.080288306, 0.011275885, 0.026647361, -0.0012659682, 0.0067854878, -0.07761356, 0.025967496, -0.02440242, 0.0061328136, -0.0056318007, -0.038837913, -0.01915711, 0.009251955, 0.09100154, 0.022263937, 0.0024403166, 0.055937156, 0.018148143, -0.016189631, 0.0038877586, -0.00980684, -0.0011725351, -0.0071339123, -0.0019529115, 0.027144426, 0.02789701, -5.8018845E-33, 0.0596128, -0.029919641, 0.027299242, 0.16664703, -0.034238786, 0.0019981249, -0.057564326, -0.053389583, 0.02752349, 0.051367488, 0.028376872, 0.054124355, -0.032552946, 0.045456845, 0.017254522, 0.08112004, -0.032185227, 0.044363268, -0.0244293, 0.04239182, -0.05888979, 0.0021197668, 0.009254325, 0.09289415, 0.053032994, -0.03888609, 0.017491724, -0.11402172, 0.052535545, 0.024639256, -0.019266635, -0.05269239, 0.010217976, 0.034891, 0.021857148, 0.01564527, -0.009534364, -0.061304335, -0.045343168, -0.0019074669, -0.04328149, 0.029429382, 0.020834787, -0.023453966, 0.02995943, 6.384957E-5, 0.0042230906, 0.018510684, 0.0013990348, 0.03510381, -0.059758533, 0.020267067, -0.14895226, 0.036921266, -0.012013607, -0.013420569, -0.025732499, -0.04793673, 0.04889626, 0.025853021, 0.039182372, 0.12265197, -0.039883383, -0.002112642, -0.079640724, -0.04775397, 0.025750501, 0.0017676564, 0.07103497, -0.032074723, -0.040873725, -0.005235362, 0.014868358, 0.036575686, 0.0049243495, 0.037661687, 0.024102809, 0.00582992, 0.026060695, -0.045275845, 0.0022726534, 0.048079237, -0.03409812, 0.013611534, 0.03709436, 0.06333642, -0.032872617, -0.08041124, -0.018524386, -0.047376964, -0.07766557, 0.026718782, 0.067677855, 0.0076977997, -0.0110900365, 4.582732E-33, 0.117205, 0.07633478, -0.100467786, -0.025534116, -0.051690694, -0.01477172, -0.010955172, 0.11814897, -0.13063246, 0.023103304, 0.026772011, -2.9122413E-4, 0.057871096, 0.03759469, 0.056596022, 0.015871136, 0.13295776, 0.05235842, -0.04077032, -0.03883434, -0.06557084, 0.0064516123, -0.047738615, -0.0154672135, -0.010942953, -0.013376596, 0.0057598664, 0.05789168, -0.096759036, -0.027082972, 0.09241545, 0.020923091, 0.0033041467, 0.04000934, 0.017952962, 0.088295646, 0.028115712, -0.06522388, 0.027978305, -0.073862925, -0.030443756, 0.05044819, 0.010673844, 0.11468754, -0.027526949, -0.05840002, -0.018693343, 0.027316678, -0.02662916, 0.024812235, -0.08706784, -0.05072319, 0.032208346, 0.020485254, -0.011959783, 0.022542534, -0.021708852, 0.03558343, -0.0036115693, -0.02753652, 0.010572087, 0.07337264, 0.036062066, 0.07907583, -0.023981798, 0.030935371, -0.02429317, 0.0020298655, 0.019218333, -0.04140804, 0.03425438, -0.00521686, -0
|