zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://docs.privategpt.dev
Apache License 2.0
53.1k stars 7.12k forks source link

Connecting PrivateGPT to chatbot #1727

Open margielapng opened 4 months ago

margielapng commented 4 months ago

Hey, I have a Rasa chatbot that i want to have a LLM to support the chatbot. I want the Language Model (LLM) to be integrated with my Rasa chatbot for database interaction and storage and i want to use privateGPT as my LLM. I could use some help with this and it would be appreciated. thanks ;)

feijoes commented 4 months ago

Perhaps you could create an API that interacts with both simultaneously? Could you please provide further explanation?

margielapng commented 4 months ago

i want the LLM to be able to take information from the database and store it to its own database so when frequent questions are asked it knows what to pull out from the database. for example, if someone wants to search "how do i set up my password" the information must be taken from my database and stored to the llm so that in future the question shows up. im basically trying to get m own privateGPT, with my own interface and database , and i want privateGPT to perform as a tool to generate output for user input in a more detailed way and/or be able to generate output in many different ways.

feijoes commented 4 months ago

@margielapng Maybe what you can do is store your database in a text/csv file with the frequently asked questions, and then you can train the PrivateGPT with that file.