Skip to content

magland/qp

Repository files navigation

qp

A multi-tenant AI chat platform that hosts specialized AI assistants, each accessible via different subdomains. Built with React, TypeScript, and Vite on the frontend, with a Next.js API backend.

Chat Assistants

This repository supports eight specialized chat applications:

1. stan-assistant

Technical assistant for Stan probabilistic programming. Provides guidance and code examples based on the Stan User's Guide and Reference Manual.

2. nwb-assistant

Assistant for Neurodata Without Borders (NWB). Helps with PyNWB and related tools. Includes Jupyter integration for running Python code.

3. neurosift-chat

Explores and queries neuroscience datasets across DANDI Archive, OpenNeuro, and EBRAINS repositories. Features dataset search, NWB file analysis, and data visualization capabilities.

4. dandiset-explorer

Specialized assistant for exploring specific Dandisets with Python/Jupyter integration.

5. test-chat

Development testing assistant with Jupyter support.

6. figpack-assistant

Assistant for Figpack.

7. bids-assistant

Assistant for the Brain Imaging Data Structure (BIDS) specification. Helps with organizing neuroimaging data according to BIDS standards.

8. hed-assistant

Assistant for Hierarchical Event Descriptors (HED). Provides guidance on annotating events and data using HED tags, based on the HED specification and resources documentation.

Architecture

  • Frontend: React + Vite + TypeScript single-page application
  • Backend: Next.js API (nextjs/qp-api/) handling chat persistence and LLM requests
  • Routing: Subdomain-based assistant selection (e.g., stan-assistant.vercel.app)
  • LLM Integration: OpenRouter for model flexibility
  • Storage: MongoDB for chat history
  • Tools: Custom tools per assistant (document retrieval, Python execution, dataset queries)

Development

# Frontend
npm install
npm run dev

# Backend API
cd nextjs/qp-api
npm install
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages