Files
NSCT---Neutral-Search-Crawl…/.env.example
NSCT Agent e9410be941 Stage 0: Repository und Architekturgrundlage
- Pyproject.toml mit FastAPI, Pydantic v2, SQLAlchemy, httpx, asyncio,
  BeautifulSoup4, selectolax, trafilatura, uvicorn, pytest-asyncio
- Multi-stage Dockerfile (Python 3.12-slim, Non-Root-User nsct)
- docker-compose.yml (nsct-api + postgres + optional searxng)
- .env.example mit allen Config-Parametern
- Config-System: AppSettings mit LLMConfig, VisionConfig, AudioConfig,
  DatabaseConfig — komplett aus Environment, keine Hardcodes
- Strukturiertes Logging mit research_id/llm_request_id Tracking
- Pydantic v2 Schemas: SearchQuery, Source, Claim, EvidenceRelation,
  CitationEdge, ResearchReport
- SQLAlchemy 2.0 Declarative Models + async Engine Factory
- SSRF-Schutz: URL-Validation, IP-Blocklist (RFC1918, Cloud Metadata,
  file://, ftp://)
- Provider-Interfaces: LLMProvider, VisionProvider, AudioProvider,
  SearchProvider, ContentFetcher als ABCs
- Health-Endpoints: /health, /ready (LLM-Connect-Test), /providers
- FastAPI App mit CORS, lifespan (LLM Pre-Flight)
- CLI-Stub mit Entry-Points: nsct, nsct-core, nsct-api
- 6 Test-Cases: /health, /ready, /providers + No-Secrets-Test
- Vollständige Dokumentation: README, ARCHITECTURE, SECURITY,
  METHODOLOGY, API, DEPLOYMENT
- .gitignore (Python, Docker, IDE, .env)
2026-08-23 11:33:45 +00:00

34 lines
1.1 KiB
Plaintext

# ============================================================
# NSCT — Environment Variables (copy to .env and fill in)
# ============================================================
# ---------- LLM ----------
# OpenAI-compatible endpoint for the primary LLM worker
NSCT_LLM_BASE_URL=http://localhost:8030/openai/v1
NSCT_LLM_MODEL=Qwen3.6-6-35B
NSCT_LLM_MAX_CONCURRENCY=3
# Optional API key for the LLM endpoint (provider-specific header)
NSCT_LLM_API_KEY=
# ---------- Vision (image analysis) ----------
NSCT_VISION_BASE_URL=http://localhost:8030/openai/visual/v1
NSCT_VISION_MODEL=Qwen2-VL-3B
NSCT_VISION_API_KEY=
# ---------- Audio (speech / transcription) ----------
NSCT_AUDIO_BASE_URL=http://localhost:8030/hermes-audio
NSCT_AUDIO_MODEL=default
NSCT_AUDIO_API_KEY=
# ---------- PostgreSQL ----------
NSCT_DB_URL=postgresql+asyncpg://nsct:nsct_secret@localhost:5432/nsct
POSTGRES_USER=nsct
POSTGRES_PASSWORD=nsct_secret
POSTGRES_DB=nsct
# ---------- SearXNG (optional search backend) ----------
NSCT_SEARXNG_BASE_URL=http://localhost:8888/
# ---------- General ----------
NSCT_DEBUG=false