Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataPulse-alpha AI

An AI-powered document intelligence API built during the DataPulse internship program.

What It Does

Upload documents. Ask questions. Get AI-powered answers. Built with FastAPI, PostgreSQL, LanceDB, and OpenAI.

Tech Stack

  • FastAPI — API framework
  • PostgreSQL — document metadata and query history
  • LanceDB — vector database for semantic search
  • OpenAI — embeddings and answer generation

Setup Instructions

1. Clone the repository

git clone <your-repo-url>
cd datapulse-alpha

2. Create virtual environment

python -m venv venv
source venv/bin/activate  # Mac/Linux
venv\Scripts\activate     # Windows

3. Install dependencies

pip install -r requirements.txt

4. Configure environment

cp .env.example .env
# Edit .env and add your credentials

5. Set up the database

# TODO: Add Alembic migration commands here

6. Run the API

uvicorn app.main:app --reload

7. Open API docs

http://localhost:8000/docs

Running Tests

pytest tests/ -v

API Endpoints

Method Endpoint Description
GET /health Health check
POST /ingest Upload a document
POST /query Ask a question
GET /documents List all documents

Team

What I Learned

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages