scripts/quick_test.sh hinzugefügt
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 2s
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 2s
This commit is contained in:
parent
f248ba962b
commit
3d4a54b783
25
scripts/quick_test.sh
Normal file
25
scripts/quick_test.sh
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user