Spaces:
Runtime error
Runtime error
Commit History
3 days ago
-
fix(hf): mount fastapi into gradio instead of running uvicorn manually
b7bda5c -
fix(hf): override gradio launch to run fastapi server
f06652d -
fix(hf): switch SDK to gradio and start uvicorn
c93af42 -
chore(hf): add required YAML frontmatter for Docker Space
e0cee3f -
Merge branch 'master' of https://github.com/Ramsha-Anwar/context-query-ai
:wq996d589 -
chore(deploy): add gradio wrapper and dependency for HF
0a37207 -
chore(deploy): add multi-stage Dockerfile and Hugging Face Gradio wrapper (#19)
Unverified signature* chore(deploy): add multi-stage Dockerfile and render config * chore(deploy): update dockerfile for hugging face deployment0e7b3a0 -
feat(web): add vanilla JS one-file console with CORS, PDF upload, and custom themeFeat/web console (#18)
Unverified signature* fix(cors): allow live server origins and expose idempotency headers * feat(web): build one-file console with custom theme, pdf upload, and settingsbc2b07b -
feat(obs): add /metrics endpoint and structured ai_call logging (#17)
Unverified signature* ci: run workflow only on PRs and skip eval on drafts * feat(ai): track input/output tokens in ai_call logging * feat(api): wrap hub routes with observability logger * feat(obs): expose /metrics endpoint via transparent-fastapi * test: add metrics test and update ai mocks for token counts0358051
4 days ago
-
test(eval): add RAGAS gate + retrieval evaluation (recall@5, MRR) (#16)
Unverified signature* test: improve document ingestion edge case coverage * chore(deps): replace google-genai with groq and fastembed * feat(config): groq and fastembed settings, remove gemini and hf keys * feat(ai): groq generation wrapper and fastembed local embeddings * fix(obs): import AiUnavailable from groq_service * fix(api): wire routers to groq_service and settings.GROQ_MODEL * test: update mocks for groq and fastembed, 768-dim embeddings * test(eval): custom ragas-equivalent gate on 50-question golden set * ci: pass GROQ_API_KEY to the eval job * ci: fix yaml syntax, add libgomp1, and remove obsolete API keys * test(eval): add recall@5 and MRR retrieval metrics with rate-limit fallback49206fb
7 days ago
-
ci: add github actions for tests, coverage, and secret scanning (#15)
Unverified signature7161dc9 -
feat(query): per-user rate limiting (#14)
Unverified signature* feat(query): add in-memory sliding window rate limiter * feat(query): apply rate limit to the query endpoint * test(query): verify 429 rate limit and per-user isolation85c3a7b -
feat(query): multi-query expansion for improved retrieval (#13)
Unverified signature* feat(schemas): add query request and response schemas with similarity config * feat(repo): add vector search query scoped by owner and hub * fix(ai): strip markdown code blocks from gemini json responses * feat(query): add grounded rag endpoint with similarity threshold * test(query): verify cross-tenant isolation and empty retrieval * feat(ai): add expand_query for multi-query retrieval * feat(repo): add multi-query union retrieval * feat(query): integrate multi-query expansion into rag * test(query): cover multihop sources and expansion fallbackdd9b17c -
feat(query): grounded RAG query with similarity threshold (#12)
Unverified signature* feat(schemas): add query request and response schemas with similarity config * feat(repo): add vector search query scoped by owner and hub * fix(ai): strip markdown code blocks from gemini json responses * feat(query): add grounded rag endpoint with similarity threshold * test(query): verify cross-tenant isolation and empty retrievaldf79db8 -
fix(documents): serialize process stages with atomic update (#11)
Unverified signaturecc78da3 -
feat(documents): async ingestion and state machine (#10)
Unverified signature* feat(documents): add upload endpoint and async state machine * test(documents): cover resumability and per-stage idempotencyb13c030
8 days ago
-
feat(obs): safe text chunker and AI observability logging (#9)
Unverified signature* feat(obs): add structured json logging and safe text chunker * test(obs): verify chunker overlap and ai call loggingda24e62 -
feat(ai): robust gemini and embedding wrappers (#8)
Unverified signature* feat(ai): add gemini and embedding wrappers with dimension enforcement * test(ai): verify graceful degradation and hallucination checksb07d245 -
fix(hubs): catch IntegrityError for concurrent name conflicts (#7)
Unverified signature68ea340 -
feat(hubs): idempotent create with inline document (#6)
Unverified signature* feat(models): add relationships and hub response schemas * feat(hubs): add tenant-safe list, get, and delete endpoints * test(isolation): prove cross-tenant read, list, and delete are cloaked * feat(ai): add gemini, embeddings, and chunking wrappers * feat(hubs): implement idempotent create with inline document * test(idempotency): cover replay, different body, and missing keydfd168b
9 days ago
-
feat(hubs): tenant-safe list, get, and delete (#5)
Unverified signature* feat(models): add relationships and hub response schemas * feat(hubs): add tenant-safe list, get, and delete endpoints * test(isolation): prove cross-tenant read, list, and delete are cloaked3d08a7e
10 days ago
-
feat(auth): implement login, jwt guard, and change password (#4)
Unverified signature* feat(auth): add schemas, jwt guard, and change password endpoint * feat(api): register auth routes and protected test route * test(auth): cover 401 matrix, login timing, and change password02427e3 -
feat(auth): password hashing, JWT, and signup (#3)
Unverified signature* feat(security): add bcrypt hashing and jwt helpers * feat(schemas): add user create and response schemas with byte validation * feat(auth): add signup endpoint and register auth router * test(auth): cover signup, case-insensitivity, and password limits * chore: add missing error tests and alembic boilerplate148b563 -
feat(api): error contract, request id, and test harness (#2)
Unverified signature* feat(errors): add AppError and error envelope builder * feat(api): register error handlers and request id middleware * test: add conftest harness with test database safety checkd2d4409 -
feat(db): add sqlalchemy models, pgvector, and alembic migrations (#1)
Unverified signature* chore(db): add docker-compose and config for local postgres * feat(db): add sqlalchemy engine and session management * chore(db): configure alembic to read env variables * feat(db): add initial schema migration with pgvector extension3e36c5e -
chore: add pre-commit hook for secret scanning
6926b92 -
chore: add empty module placeholders for future features
b8783b7 -
feat(api): add app factory and healthz endpoint
f7d6cd3 -
feat(config): read settings from env with no secret defaults
2c28073 -
chore: add project layout and dependencies
4f255eb