Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 950 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 950 Bytes

ChatWithWikipage

ChatWithWikipage is an simple chat application where user can search the wikipedia page and start chat with that page. They can search for the wiki page. They can select the wikipage and started asking question. The chatbot will answer you with the content of wikipedia.

Implementation

  • For running this in the local maching, take a git clone of main branch
  • You need any llm model. Here we have used llama3
  • Llama3 is running in the local machine with ollama service
  • We have used flask to serve the api
  • Used js, css and html to build the chat window which will be suitable for integrating into wikipedia page in future

Setup

  • Install ollama for serving the llm in local or else use huggingface pipeline for the inference
  • Install requrements.txt
  • Run main.py
  • Open another tab in terminal and cd frontend
  • run python3 -m http.server <portnumber>
  • Open the browser and hit localhost: