How evodmik/robingraph works
RobinGraph is a bird-knowledge exploration service: a user asks a Korean natural-language question, the API routes it to an intent-specific lookup, retrieval resolves bird data and evidence, and the service returns sourced answers. The product also offers species cards, taxonomy, subspecies, ecological relations, observations, and literature search. Data enters through validated ingestion and is served from Neo4j, with PostgreSQL holding ingestion and activation state. The graph combines README-described capabilities with sampled imports and calls; unsampled subsystem links are omitted where their ownership could not be verified.
Main entry points: app.py HTTP application · ingest_router.py Ingest control API · tracing.py MLflow tracing · generate_n8n_reference_ingest.py Reference ingest workflows
Components 27
Question and presentation
- Chat and cards
src/robingraph/api/static/chat.js - Bird card views
src/robingraph/api/static/birds.js
Routing and answering
- HTTP application
src/robingraph/api/app.py - Jev intent router
src/robingraph/api/jev_router.py - Semantic router
src/robingraph/api/semantic_router.py - Embedding client
src/robingraph/embeddings/__init__.py - Answer generation
src/robingraph/generation.py - Question service
src/robingraph/slice.py
Bird knowledge retrieval
- Repository interface
src/robingraph/retrieval/repository.py - Species profiles
src/robingraph/retrieval/species_profile.py - Name relations
src/robingraph/retrieval/name_relations.py - Taxonomy lineage
src/robingraph/retrieval/taxonomy_lineage.py - Hybrid literature search
src/robingraph/retrieval/hybrid.py - Graph hybrid search
src/robingraph/retrieval/neo4j_hybrid.py - Fixture corpus
src/robingraph/fixture.py - Fixture repository
src/robingraph/retrieval/fixture_repository.py - Neo4j repository
src/robingraph/retrieval/neo4j_repository.py
Ingestion and storage
- Neo4j graph
- Ingest control API
src/robingraph/api/ingest_router.py - Ingest state store
src/robingraph/ingest/store.py - PostgreSQL state
- Record validation
src/robingraph/ingest/validation.py - Reference ingest workflows
scripts/generate_n8n_reference_ingest.py
Tracing and policy
- Data policy
src/robingraph/policy.py - MLflow tracing
src/robingraph/tracing.py
Other components
- Bird enthusiast
- MLflow service
Connections 26
- Bird enthusiast → Chat and cards: asks
README.md - Chat and cards → HTTP application: submits query
README.md - HTTP application → Jev intent router: classifies intent
src/robingraph/api/app.py - HTTP application → Semantic router: routes intent
src/robingraph/api/app.py - Semantic router → Embedding client: embeds query
src/robingraph/api/semantic_router.py - HTTP application → Question service: composes answers
src/robingraph/api/app.py - Question service → Repository interface: queries corpus
src/robingraph/retrieval/repository.py - HTTP application → Species profiles: loads profiles
src/robingraph/api/app.py - HTTP application → Name relations: resolves names
src/robingraph/api/app.py - HTTP application → Taxonomy lineage: loads lineage
src/robingraph/api/app.py - HTTP application → Answer generation: generates answer
src/robingraph/api/app.py - Answer generation → Hybrid literature search: retrieves evidence
src/robingraph/generation.py - Graph hybrid search → Hybrid literature search: implements search
src/robingraph/retrieval/neo4j_hybrid.py - Neo4j repository → Neo4j graph: reads graph
README.md - HTTP application → Fixture repository: uses fixture mode
src/robingraph/api/app.py - Fixture repository → Fixture corpus: reads corpus
src/robingraph/retrieval/fixture_repository.py - Ingest control API → Ingest state store: updates runs
src/robingraph/api/ingest_router.py - Ingest state store → PostgreSQL state: persists state
README.md - Ingest control API → Record validation: validates records
- Reference ingest workflows → Ingest control API: loads sources
- Reference ingest workflows → Neo4j graph: loads reference data
README.md - HTTP application → MLflow tracing: records spans
src/robingraph/api/app.py - Jev intent router → MLflow tracing: records spans
src/robingraph/api/jev_router.py - MLflow tracing → MLflow service: exports traces
src/robingraph/tracing.py - Fixture corpus → Data policy: filters records
src/robingraph/fixture.py - HTTP application → Bird card views: serves card data
README.md