Skip to content

SockAndSandal/semantic-search-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Search for Local Filesystem

Prerequisites

  • Python 3.x installed on your machine
  • NEO4j Server installed and configured
  • Access to the OpenAI website to generate an API token

Instructions

  1. Install requirements.
pip install -r requirements.txt
  1. Clone the repository to your local machine:
cd Middleware
NEO4J-HOME/bin/neo4j start
  1. Run the activeChecker.py script. Replace <python_command> with the appropriate command for your system.
<python_command> activeChecker.py
  1. Go to the OpenAI website and generate an API token. Copy the generated token.

  2. Go to the NLU folder and create a file named secret.json. Open the file and add the following JSON structure, replacing <api_token> with the token you generated in the previous step:

Copy code
{
  "api_token": "<api_token>"
}
  1. Start the RASA server by running the actions and endpoint. Replace <rasa_command> with the appropriate command for your system.
<rasa_command> run actions
<rasa_command> run --endpoints endpoints.yml --port 5005
  1. Run GUI.py inside GUI folder.
<python_command> GUI.py

That's it! You have successfully set up and started the project.