Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-memsql committed Jun 12, 2024
1 parent 883749b commit 11e4644
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ export const run = async () => {

await vectorStore.setSearchConfig({
searchStrategy: "FILTER_BY_TEXT",
filterThershold: 0.1,
filterThreshold: 0.1,
});
const resultThree = await vectorStore.similaritySearch("rainstorm in parched desert, rain", 1);
console.log(resultTthree[0].pageContent);
console.log(resultThree[0].pageContent);

await vectorStore.setSearchConfig({
searchStrategy: "FILTER_BY_VECTOR",
filterThershold: 0.1,
filterThreshold: 0.1,
});
const resultFour = await vectorStore.similaritySearch("rainstorm in parched desert, rain", 1);
console.log(resultFour[0].pageContent);
Expand Down

0 comments on commit 11e4644

Please sign in to comment.