geeks-of-data / knowledge-gpt

Extract knowledge from all information sources using gpt and other language models. Index and make Q&A session with information sources.
https://pypi.org/project/knowledgegpt/
MIT License
276 stars 52 forks source link

Search Engine Support #50

Open eren23 opened 1 year ago

eren23 commented 1 year ago

Support for making calls to actual search engines to connect/create/update knowledge bases for our prompts.

luca-suen-dev commented 1 year ago

I'm thinking if this could connect with MongoDB and store some embeddings, so next time I use, I don't need to import a document or URL, I just need to input the question :)

eren23 commented 1 year ago

I'm thinking if this could connect with MongoDB and store some embeddings, so next time I use, I don't need to import a document or URL, I just need to input the question :)

Hello, thanks for the question, actually we were kind of moving away from this MongoDB idea, or at least the idea of having MongoDB inside the library. But the functionality you were asking for is actually (partially possible at the moment ) see this example for instance, basically when you provide a path for the index, if there is an index file there, knowledgegpt uses it and no more calculations happen, if this is the first time you are running it then it's being created and stored.