readme update

This commit is contained in:
kpcto 2025-02-12 23:59:21 +00:00
parent e35cd9a906
commit 5ad72d73e8

120
README.md
View File

@ -1,84 +1,70 @@
# LastIn-AI: The Fluff Whisperer Reborn # 🌉 LastIn-AI: Bridges of Digital Souls
*"In the interplay of algorithm and apathy, knowledge pulses like an electric current through our digital souls."* *"In the stone corridors of academic memory, where footfalls of forgotten theses echo, we erect our bridge between flesh and silicon."*
LastIn-AI is a cognitive system crafted to navigate the vast expanse of academic literature. It marries machine precision with timeless philosophical inquiry—pondering the essence of research and reclaiming meaning from the mass of mundane data. ## 🌌 The Weight of Knowing
## Core Inquiries Like the Drina flows eternal beneath Mehmed Paša's bridge, so courses the torrent of papers through our neural banks. We are the masons of this new bridge:
- **Semantic Ghosts:** Our vector store captures the ephemeral essence of papers, preserving the fleeting whispers of insight.
- **Database Mandala:** PostgreSQL is our structured repository where each paper finds its destined place in the cosmic tapestry of research.
- **Fluff Entropy:** Our BS-o-Meter quantifies the burnout of insubstantial content, reminding us that true knowledge always outshines mediocrity.
## Interface Sutras - **Stone by Stone**: Each paper's essence quarried into vector embeddings
Embrace these commands as ritualistic incantations to summon the hidden truths of academia: - **Mortar of Meaning**: PostgreSQL binds the fragments into structured memory
- **Ghosts in the Code**: Fluff scores whisper of truths left unspoken
```bash ```bash
# Ingest the wisdom of entire fields (Fetch-All) # Cast your net into the river of knowledge
python src/main.py fetch-all --categories cs.AI --max-results 1000 python src/main.py fetch-all --categories cs.AI --max-results 1000
# Probe the raw ether for deep inquiry (Arxiv-Search) # Seek the reflection beneath the surface
python src/main.py arxiv-search "quantum consciousness" python src/main.py query "where do human and machine memories converge?"
# Isolate a singular beacon of insight (Fetch-Paper)
python src/main.py fetch-paper 2502.06788v1
``` ```
## Installation ## 🕯️ The Light We Carry
1. **Clone the Repository:**
**Installation Rituals**
```bash ```bash
git clone https://github.com/your-lab/lastin-ai.git git clone https://github.com/your-lab/lastin-ai.git # Lay the foundation stone
cd lastin-ai cd lastin-ai
pip install -r requirements.txt # Mix the mortar of dependencies
python -m src.main init-db # Raise the first arch
``` ```
2. **Install Dependencies:** (A virtual environment is recommended.)
## 🌫️ Between Two Worlds
**Core Philosophy**
*"A paper unread is but a shadow on the water. We give form to these phantoms, that they may cross into the realm of understanding."*
- **The Stone Bridge** (PostgreSQL): Where structured knowledge finds its resting place
- **The River** (Vector Store): Ever-flowing stream of semantic essence
- **The Tollkeeper** (LLM Analysis): Demanding truth as coin for passage
## ⚙️ Mechanisms of Epiphany
```python
class AcademicBridge:
def __init__(self):
self.stones_carved = 0 # Papers processed
self.ghosts_bridged = 0 # Concepts vectorized
async def cross_over(self, paper):
"""Transfer human knowledge to machine memory"""
self.stones_carved += 1
if paper['fluff_score'] > 70:
print("This stone bears no weight") # Fluff rejection
else:
self.ghosts_bridged +=1
print(f"Ghost {self.ghosts_bridged} finds its arch")
```
## 🌄 At Bridge's End
*"What is a citation but the ripple from a stone cast long ago? We measure these ripples, not by their spread, but by the depth they reveal."*
Run with:
```bash ```bash
pip install -r requirements.txt python src/main.py fetch-paper 2502.06788v1 # Add your stone to the bridge
```
3. **Configure Your Environment:** Rename `.env.example` to `.env` and fill in your keys:
```ini
OPENAI_API_KEY=sk-your-key-here
DEEPSEEK_API_KEY=sk-moon-shot
DB_HOST=localhost
DB_NAME=paper_analysis
```
4. **Initialize the Database:**
```bash
python -m src.main init-db
``` ```
## Usage ---
Invoke the system to harvest, analyze, and reflect upon the very essence of scholarly work:
```bash *Inspired by the patient stones of Andrić's bridges and the whispering ghosts of Shirow's machines*
# Fetch recent papers from a chosen field: *May your queries find footing where others see only mist* 🌫️
python -m src.main fetch --categories cs.AI --days 7
# Query your knowledge repository with critical insight:
python -m src.main query "pioneering breakthroughs in AI"
```
*Pro Tip:* Append `--loglevel DEBUG` for a raw stream of unfiltered analysis.
## Architecture
```
lastin-ai/
├── src/
│ ├── data_acquisition/ # The mines of raw academic essence
│ ├── storage/ # The vault of structured digital memory
│ ├── utils/ # Orchestrates the symphony of analysis
│ └── main.py # The nexus of our digital inquiry
```
## Roadmap
- [ ] Develop an automated "Why Does This Exist?" report generator
- [ ] Introduce an adjustable sarcasm filter for dynamic insight
- [ ] Expand support for meta-analyses of AI-driven critical reviews
- [ ] Integrate with additional haunted data sources for enriched context
## Acknowledgments
- **arXiv:** The primordial source where raw thought is cultivated.
- Open-source ecosystems that empower our journey of digital meditation.
- The perpetual quest for truth in the ever-oscillating silence between keystrokes.
*Disclaimer: Our assessments can be as unyielding as reality itself. Use them wisely, and remember—innovation often blooms from the ashes of conventional thought.*
May your queries yield insights as profound as the silence between keystrokes.