Skip to content

TheMergeConflict/Project-Chronos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project-Chronos: The AI Archaeologist

Team Details

  • Aadi Jha - SE25UMCS030 (Website)
  • TVNS Saicharan - SE25UCSE071 (CLI 1)
  • I Sai Pranav Nihal - SE25UCSE096 (CLI 2)
  • Siddarth Sreenivasulu Reddy - SE25UECM042 (Project Manager)

Project Description

Project Chronos is an Gemini-powered application designed to reconstruct fragmented digital information from a digital archaeological site, which consists of a vast and incomplete archive of ancient web pages and forum posts. The primary challenge is dealing with information gaps, obscure language, and forgotten cultural references, which make interpreting these digital relics difficult. Project Chronos aims to develop an intelligent system capable of piecing together these fragments, interpreting slang and contextual cues, and restoring missing information to provide a coherent understanding of the digital past.

Setup Instructions

For the Python CLI:

CLI 1:

Paste the following command in your terminal and run it to install all the required packages.

pip install -r requirements.txt

Create a .env file in the project directory and paste the following in the file:

GOOGLE_API_KEY = <YOUR_API_KEY> SEARCH_API_KEY = <YOUR_API_KEY>

Get your Google API key from the Google AI Studio and paste it in place of <YOUR_API_KEY>

In a similar way, get your Search API key from Serp API and paste it in place of <YOUR_API_KEY>

CLI 2:

Paste the following command in your terminal and run it to install all the required packages.

pip install -r requirements.txt

Get your Google API key from the Google AI Studio and paste it in place of <YOUR_API_KEY> in line 380 of CLI.py.

For the website:

Prerequisites

Make sure you have Node.js and npm installed on your system. You can verify this by running:

node -v
npm -v

Getting the Files

git clone https://github.com/MyCompilerHatesMe/Project-Chronos.git

Change the present working directory

cd website

Create an Environment file

Create a .env file and inside the website directory and paste in GOOGLE_API_KEY=<YOUR_API_KEY_HERE>

the above step is the same as the one for the CLI.

Installing packages

While inside the website directory run the below command to install all necessary packages.

npm install

Running the application

Now, to serve the page, run

node server.js

Go into your browser and type in localhost:3000 to access the project.

Usage Guide

For Python CLI:

CLI 1:

Once the .env file is saved, run the main.py file.

Enter the fragmented text into the terminal and the recontruction report will be generated along with the reconstructed text and sources used.

CLI 2:

Once the API key is entered in CLI.py, save the file and run it.

Enter the fragmented text into the terminal and the recontruction report will be generated along with the reconstructed text and sources used.

For the website

Simply visit localhost:3000 and type in your prompt, the reconstructed report will appear below.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors