2026-06-30 20:27:00 +00:00
|
|
|
# Portfolio Projects
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
Place a `.md` file here for each project you want the bot to be able to answer about.
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
## File naming convention
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
- One file per project: `project-name.md`
|
|
|
|
|
- Name in kebab-case (lowercase with hyphens)
|
|
|
|
|
- Example: `rony-harness.md`, `rony-llm-agent.md`, `portfolio-astro.md`
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
## Frontmatter (optional but recommended)
|
2026-06-28 23:13:21 +00:00
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
|
---
|
2026-06-30 20:27:00 +00:00
|
|
|
title: "Rony Harness"
|
2026-06-28 23:13:21 +00:00
|
|
|
date: 2026-06
|
|
|
|
|
status: "active" # active | archived | wip
|
|
|
|
|
tags: ["go", "ai", "cli"]
|
2026-06-29 06:24:22 +00:00
|
|
|
repo: "https://github.com/VictorVargas/rony-harness"
|
2026-06-30 20:27:00 +00:00
|
|
|
demo: "https://..." # optional
|
2026-06-28 23:13:21 +00:00
|
|
|
---
|
|
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
# Rony Harness
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
AI agent harness for software development...
|
2026-06-28 23:13:21 +00:00
|
|
|
```
|
|
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
## How they're processed
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
1. The bot scans this directory on startup
|
|
|
|
|
2. Each `.md` is split into chunks of ~500 characters
|
|
|
|
|
3. Each chunk is converted to embedding with Ollama
|
|
|
|
|
4. Embeddings are stored in ChromaDB
|
|
|
|
|
5. When someone asks a question, the top-5 most relevant chunks are searched
|
|
|
|
|
6. Those chunks are injected into the LLM context
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
## Re-index
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
If you modify the `.md` files, run:
|
2026-06-28 23:13:21 +00:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./bin/chat-bot reindex
|
|
|
|
|
```
|
|
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
This rebuilds ChromaDB from scratch.
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
## Project example
|
2026-06-28 23:13:21 +00:00
|
|
|
|
2026-06-30 20:27:00 +00:00
|
|
|
See [`example-project.md`](./example-project.md) for a template.
|