Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling Public knowledge and Private knowledge #4

Open
fire17 opened this issue Jul 29, 2023 · 4 comments
Open

Toggling Public knowledge and Private knowledge #4

fire17 opened this issue Jul 29, 2023 · 4 comments

Comments

@fire17
Copy link

fire17 commented Jul 29, 2023

Hi there!
Looks like a fantastic project!
Was wondering how do I add a text file like Manifest (or a folder) and have the get a factool based on (only) information in those files.

Like for example I want to ask it questions based on my notes.
Or ask questions based on a transcript of a YouTube video and get answer based on what is claimed ,
Or answer questions based on a pre written FAQ

Ultimately it would be nice to easily toggle which dataset to use, open, local, or both to cross correlate, and to go back and forth depending on what is desired

Let me know how I can do this currently with the current state of the code..
And hopefully set easy flag parameters and source store soon

Thanks a lot and all the best!

@fire17
Copy link
Author

fire17 commented Jul 29, 2023

The things I've suggested are already possible with current solutions such as privateGpt or pdfgpt but it seems like factool is more robust and correct with higher accuracy, and also in terms of outputs which are consistent and easy to integrate with

@fire17
Copy link
Author

fire17 commented Jul 29, 2023

Read further, I see that "evidence" is what I'm looking for, basically I need to do hot swapping on evidence from online scraping and local files. If you can help show an example of how you recommend of doing this that would very appreciated 👍

@EthanC111
Copy link
Collaborator

@fire17 Thank you for your interest on our work!

Indeed adding private knowledge support to FacTool is on our priority list!
To achieve this, we have to change this file link, so that the tool is querying from your own database (or vector database) rather than querying from the search engine.

Let me know if you have more questions! Thank you!

@fire17
Copy link
Author

fire17 commented Jul 30, 2023

Seems simple enough to hot swap, maybe make parent class that has .run() and gets similar inputs and outputs (+ kwargs)
Then choose if to use Google search or Vector Search or Local Search (pass info like paths to include)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants