What if we chronologically arrange textual narratives and train a model that can best predict the direction of its semantic narrative? Aka - can we make a model to predict future events?
- Backend: FastAPI, PostgreSQL, SQLAlchemy
- AI Integration: Cohere multilingual-22-12, DeepSeek R1
- Vector Database: Pinecone
- Navigate to the backend directory:
cd backend- Create a virtual environment (optional but recommended):
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate- Install required Python packages:
poetry install- Have postgres installed on your machine
- Initialize database
python app/databse.py- From the backend directory:
uvicorn app.main:app --reload