Skip to content

π˜•π˜¦π˜·π˜¦π˜³ π˜’π˜―π˜°π˜Έπ˜ͺ𝘯𝘨𝘭𝘺 𝘜𝘯π˜₯𝘦𝘳𝘴𝘰𝘭π˜₯

License

Notifications You must be signed in to change notification settings

standardgalactic/research-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RAG Cognitive Stack β€” Repository

This repository contains a production-ready scaffold implementing the five-persona RAG memory system (Archivist, Formalist, Synthesist, Strategist, Curator) plus routing, ontology tagging, benchmarks, UI, Dockerization, tests, and a LaTeX paper.

Contents

  • memory_routing_schema.json β€” JSON Schema for memory routing records.
  • prompts.py β€” Persona prompt templates.
  • curator.py β€” routing implementation and curator logic (simulated LLM).
  • ontology.py β€” vector tagging ontology.
  • tagger.py β€” stub for embedding tagging projection.
  • route_tests.py β€” pytest suite for routing.
  • benchmark.py β€” synthetic failure-mode benchmark.
  • app.py β€” minimal Streamlit UI for adding memories and seeing routing.
  • samples/ β€” example .memory files.
  • Dockerfile and docker-compose.yml β€” containerization.
  • main.tex β€” LaTeX paper draft.
  • requirements.txt β€” Python dependencies.

Usage (development)

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pytest
streamlit run app.py

Notes

  • LLM calls are stubbed/simulated. Replace the TODO markers in curator.py with real LLM calls (OpenAI/Anthropic/local).
  • Embedding projection functions in tagger.py are placeholders; integrate your vector model (sentence-transformers or cloud embeddings) and train regressors to map embeddings to ontology scores.

About

π˜•π˜¦π˜·π˜¦π˜³ π˜’π˜―π˜°π˜Έπ˜ͺ𝘯𝘨𝘭𝘺 𝘜𝘯π˜₯𝘦𝘳𝘴𝘰𝘭π˜₯

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published