Add Wiki VectorDB Chat skill
Multi-provider AI chat with RAG pipeline for Z.ai portal. Includes SKILL.md, deploy and health-check scripts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
14
skills/wiki-vector-chat/scripts/deploy.sh
Executable file
14
skills/wiki-vector-chat/scripts/deploy.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
VPS="uroma2@95.216.124.247"
|
||||
echo "Uploading backend..."
|
||||
scp /opt/blog/wiki-vector-chat.py "$VPS:/opt/blog/"
|
||||
echo "Uploading frontend..."
|
||||
scp /opt/zportal/chat.html "$VPS:/opt/zportal/chat.html"
|
||||
echo "Restarting service..."
|
||||
ssh "$VPS" "sudo systemctl restart wiki-vector-chat"
|
||||
sleep 2
|
||||
echo "Checking health..."
|
||||
ssh "$VPS" "curl -s http://127.0.0.1:8770/health"
|
||||
echo ""
|
||||
echo "Deploy complete!"
|
||||
12
skills/wiki-vector-chat/scripts/health-check.sh
Executable file
12
skills/wiki-vector-chat/scripts/health-check.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
VPS="uroma2@95.216.124.247"
|
||||
echo "=== Service Status ==="
|
||||
ssh "$VPS" "sudo systemctl status wiki-vector-chat --no-pager -l" 2>&1 | head -15
|
||||
echo ""
|
||||
echo "=== Health ==="
|
||||
ssh "$VPS" "curl -s http://127.0.0.1:8770/health"
|
||||
echo ""
|
||||
echo ""
|
||||
echo "=== Providers ==="
|
||||
ssh "$VPS" "curl -s http://127.0.0.1:8770/providers"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user