Closed valivetirama closed 8 months ago
Hey @valivetirama ,
Thank you for creating an issue
I tried reproducing the error with your version specifications and using MongoClient . I am unable to reproduce the error.
Could you check your data or your configuration? It could be either
Here is a colabs link notebook (with your version specifications )I just ran to recreate it .
This way you would be able to isolate where the issue is
Let me know how it goes
Hi @anitaokoh ,
The issue was with the below snippet,
# SuperDuperDB, now handles your MongoDB database
# It just super dupers your database
db = superduper(
mongodb_uri,
**cluster__vector_search=mongodb_uri,**
)
If we can remove the cluster__vector_search=mongodb_uri
from the above snippet it is working fine and able to generate the Result below
Contact Details [Optional]
No response
System Information
Mongodb : mongodb://localhost:27017
database: leads collection: lead_info
mongo compass version : Version 1.42.1 (1.42.1) MongoDB Version : 7.0.5
[dependencies] pymongo version = "^4.6.1" superduperdb version = "^0.1.1" python version = "^3.10.0" openai = 1.1.2
What happened?
I am trying to replicate the same example using my local mongoDb https://docs.superduperdb.com/docs/use_cases/question-answering/Chatbot
But when I am trying to execute the search using SuperDuperDB to find documents containing the specified query, getting the following error.
and I get this error at
result = db.execute
Expecting the result
Steps to reproduce
Relevant log output ...
Relevant log output