nikolamilosevic86 / verifAI

VerifAI initiative to build open-source easy-to-deploy generative question-answering engine that can reference and verify answers for correctness (using posteriori model)
https://verifai-project.com
GNU Affero General Public License v3.0
33 stars 2 forks source link

Front end Implementation #19

Closed LorenzoCassano closed 7 months ago

LorenzoCassano commented 7 months ago

I have creating the first part for the frontend implementation, so far the Application is able to retrieve the documents and providing an answer (the verification part has not been inserted yet in backend). From Fron-end side we have the application where we can set the parameter for the search, the answer is streaming token by token to guarantee an high quality user experience. To launch the application from local side, you need just to go in front end folder:

  1. client-gui/verifai-ui and run the command npm start
  2. If from the client side the command npm start does not work, you will need to set $env:NODE_OPTIONS = "--openssl-legacy-provider" (you can just run it on terminal before to execute frontend part)
  3. The frontend will be automatically connect to the backend on the Instance where the models are deployed, sometimes could not work because I am working on it and maybe I will need to stop the process sometimes.