scripts/quick_test.sh hinzugefügt
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 2s

This commit is contained in:
Lars 2025-09-01 17:38:19 +02:00
parent f248ba962b
commit 3d4a54b783

25
scripts/quick_test.sh Normal file
View File

@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
# Create a tiny temp note and import it via API
TMPDIR="$(mktemp -d)"
NOTE="$TMPDIR/test_note.md"
cat > "$NOTE" <<'MD'
---
title: Mindnet Testnote
Typ: Notiz
Status: aktiv
tags: [mindnet, demo]
Rolle: [Entwickler]
---
# Mindnet Test
Dies ist ein kurzer Test. Link zu [[Zielknoten]] und [Homepage](https://example.org).
MD
python3 scripts/import_markdown.py --vault "$TMPDIR" --api-base "http://127.0.0.1:8001"
echo "Query..."
curl -sS -X POST http://127.0.0.1:8001/qdrant/query -H "content-type: application/json" -d '{"query":"kurzer Test", "limit":3}'
echo