OpenInterpreter / aifs

Local semantic search. Stupidly simple.
Apache License 2.0
391 stars 53 forks source link

Number of requested results 5 is greater than number of elements in index 1, updating n_results = 1 #5

Open kumardexati opened 9 months ago

kumardexati commented 9 months ago

While searching a Folder with a single pdf, I keep getting error: Number of requested results 5 is greater than number of elements in index 1, updating n_results = 1

Here is the code I am using:

from aifs import search search("What is Popular Sovereignty?", path="/Users/km/work/test/Revolutions") search("What triggered the American Revolution?") # Path defaults to CWD

Any suggestions?

KillianLucas commented 9 months ago

hey @kumardexati, thanks for reporting—is it erroring or just displaying that warning?