File size: 998 Bytes
9c71a14
a039220
9c71a14
 
a039220
3a25f97
c248ee8
 
 
3a25f97
a039220
3a25f97
a039220
 
 
3a25f97
a039220
3a25f97
a039220
 
 
c248ee8
a039220
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: Holocron Trask HTTP
---

# Holocron Trask HTTP (Hugging Face Space)

Public `trask-http-server` with **in-container Crawl4AI indexer** (`trask-indexer serve` on :8790), local ingest chunks, and `/api/trask/*` for Holocron.

The Docker image runs a **supervisor entrypoint** that starts the indexer, waits for `/health`, then starts `trask-http-server`. Build time seeds Chroma with golden QA fixtures (`trask_index_seed_for_qa.sh`).

## Deploy

- Workflow: `.github/workflows/trask-http-public.yml`
- Space: `OpenKotOR/holocron-trask-http`
- Secret: `HUGGINGFACE_TOKEN` (repository secret)

## Runtime

| Variable | Purpose |
|----------|---------|
| `TRASK_WEB_RESEARCH_PYTHON` | `.venv-trask-research` from Docker build |
| `TRASK_INDEXER_BASE_URL` | In-container retrieve API (`http://127.0.0.1:8790`; indexer started by entrypoint) |
| `OPENAI_API_KEY` / `OPENROUTER_API_KEY` | Optional answer rewrite |
| `TRASK_RESEARCH_TIMEOUT_MS` | Research subprocess timeout (default 900000) |