Docs/CI: fix broken image paths and ruff lint\n\n- Move screenshot to docs/videos and update references\n- Remove obsolete rag-query-results image\n- Rename variable to satisfy ruff
This commit is contained in:
@@ -296,7 +296,7 @@ python -m apps.slack_rag \
|
||||
|
||||
Here's what you'll see when running a RAG query on your Slack workspace:
|
||||
|
||||

|
||||
|
||||
|
||||
**What this screenshot shows:**
|
||||
- ✅ **Successful MCP connection** to Slack workspace
|
||||
@@ -312,7 +312,7 @@ This example shows a real query against the Sky Lab Computing workspace’s “r
|
||||
|
||||
### Screenshot
|
||||
|
||||

|
||||

|
||||
|
||||
### Prerequisites
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 452 KiB After Width: | Height: | Size: 452 KiB |
@@ -120,9 +120,9 @@ async def fetch(
|
||||
print("=" * 60)
|
||||
q_terms = [t.strip().lower() for t in query.split() if t.strip()]
|
||||
lines = [
|
||||
l
|
||||
for l in (text_blob.splitlines() if text_blob else [])
|
||||
if l and not l.startswith("MsgID,")
|
||||
line
|
||||
for line in (text_blob.splitlines() if text_blob else [])
|
||||
if line and not line.startswith("MsgID,")
|
||||
]
|
||||
# Score lines by count of query terms present
|
||||
scored = []
|
||||
|
||||
Reference in New Issue
Block a user