sciresearch / README.md
sccastillo's picture
update
750c247
metadata
title: Sciresearch
emoji: 🦀
colorFrom: purple
colorTo: green
sdk: docker
app_port: 7860
pinned: false
short_description: Scientific research FastAPI application

Sciresearch

Scientific research FastAPI application deployed on Hugging Face Spaces.

Features

  • FastAPI web application with AI integration
  • Research Team for Claims Anchoring and Reference Formatting
  • Modern web interface with sidebar navigation
  • Docker-based deployment for Hugging Face Spaces
  • Comprehensive API endpoints

Web Interface

The application features a modern, responsive web interface with:

  • Sidebar Navigation: Switch between AI Question Generator and Research Team Document Processor
  • Health Monitoring: Real-time API health checks and status monitoring
  • Interactive Results: Formatted display of research results with metrics and raw data
  • Responsive Design: Works on desktop and mobile devices

Quick Start

# Install dependencies
pip install -r requirements.txt

# Start the application
uvicorn app:app --host 0.0.0.0 --port 8000 --reload

The web interface will be available at: http://localhost:8000

API Endpoints

  • GET / - Returns HTML interface
  • GET /api/hello - Returns a JSON greeting message
  • GET /api/health - Health check endpoint
  • POST /api/generate - AI question answering
  • POST /api/research/process - Document processing with Research Team

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

uvicorn app:app \
  --host 0.0.0.0 \
  --port 8000 \
  --reload \
  --log-level info 

push to hf

git push hf main

git remote add hf https://sccastillo:{HF_TOKEN}f_gzcAxmNibbphDjSUOqYEzmuMczxKiYyzMX@huggingface.co/spaces/sccastillo/sciresearch

web_search_tool: https://python.langchain.com/docs/integrations/tools/?_gl=1*1f1zxtw*_gcl_au*NTU2NTUxODEzLjE3NTM3MzUzMDQ.*_ga*MTk5NzcyMjc4OC4xNzUzNzM1MzA0*_ga_47WX3HKKY2*czE3NTM3MzUzMDQkbzEkZzEkdDE3NTM3MzUzMjIkajQyJGwwJGgw