Skip to content

Fyxod/Knowledge-Synthesis-Platform

Repository files navigation

Multi-Modal-Enterprise-Knowledge-Synthesis-Platform

Prerequisites

  • Node.js
  • Tesseract
  • MongoDB
  • Python

Node.js

install from https://nodejs.org/dist/v22.20.0/node-v22.20.0-x64.msi

a msi file will be downloaded. Run the installer and follow the prompts to complete the installation.

  • check this option when installing

alt text

Verify installation

node -v
npm -v

if npm -v error's out try restarting your terminal / pc / vscode

Tesseract

MongoDB

install from https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.1-signed.msi

  • run the installer and follow the prompts to complete the installation.

  • an application named "MongoDB Compass" will be installed in your system. open it and follow steps to connect to your local db

  • do next next next when prompted between complete and custom select complete then next next next install

alt text

  • add new connection

alt text

  • save and connect

alt text

Python

alt text

Please read core/constant.py

In line no 4 Change the OLLAMA_MODEL name to the model you want to use.

Setting Up the Server's

run this script if you are in samsung's virtual machine

  • please use power shell to run this script (right side terminal in vscode)
  • it handels error related to ssl certification in node, git, python and huggingface alt text
prism_vm.ps1

1. clone the repository

git clone https://github.com/bugslayer01/Knowledge-Synthesis-Platform.git

navigate into the project directory:

cd Knowledge-Synthesis-Platform
git checkout cpu-version

Follow these steps to set up and run the backend server:

2. Create a Python Virtual Environment (Please use python 3.11 for this)

It's recommended to use a virtual environment to isolate dependencies:

python -m venv virtualEnv

Activate the virtual environment:

  • Windows (PowerShell):
.\virtualEnv\Scripts\activate.ps1
  • Windows (Terminal):
.\virtualEnv\Scripts\activate
  • Linux / macOS:(depend on your shell)
source virtualEnv/bin/activate

2. Install Dependencies

Make sure you have pip updated, then install the required packages:

pip install -r requirements.txt

3. Please rename .env.example to .env file in project root

4. Start the Server

run the FastAPI server: make sure that virtual environment is activated

python backend.py

The server will start at:

http://127.0.0.1:3000

Frontend Setup

Follow these steps to set up and run the frontend server:

open a new terminal and run frontend.py

python frontend.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •