The app requires python3 to be installed in the machine as the programming language used is Python
Refer kits from the link below to jumpstart the app
- https://kandi.openweaver.com/collections/nlp/virtual-agent-example-kit
- https://kandi.openweaver.com/collections/nlp/student-counsellor
Once the python is installed, install all the dependencies by running the below command.
pip3 install -r requirements.txt
FAQ Virtual Agent can be built by following below steps.
- Select a development environment of your choice
- Explore and analyse the dataset - Refer the file faqs.csv
- Cleanse and get the noise-free data
- Compute embeddings for the dataset - sentence or word embeddings
- Preprocess the user query
- Compute embeddings for user query
- Compare and compute similarity score to find a best match
- Look up the dataset for displaying answer of a best matched query
- Precomputed embeddings can be persisted for later use
- Servers and webframeworks can be leveraged for servicing the request as REST API - optional step
- Run Jupyter notebook for quick changes and experiments
- Run virtual_agent.py to start the virtual agent on interactive mode. It also auto-trains the virtual agent for the first time on the dataset faqs.csv