refactor: Update similaritySearch parameter to use 4 instead of 3
This commit is contained in:
parent
5ac03f5123
commit
d6d28b325f
@ -33,7 +33,7 @@ export const processSingleWebsite = async (url: string, query: string) => {
|
|||||||
|
|
||||||
await store.addDocuments(chunks)
|
await store.addDocuments(chunks)
|
||||||
|
|
||||||
const resultsWithEmbeddings = await store.similaritySearch(query, 3)
|
const resultsWithEmbeddings = await store.similaritySearch(query, 4)
|
||||||
|
|
||||||
const searchResult = resultsWithEmbeddings.map((result) => {
|
const searchResult = resultsWithEmbeddings.map((result) => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user