Skip to content

Instantly share code, notes, and snippets.

View ejscribner's full-sized avatar

Elliot Scribner ejscribner

View GitHub Profile
@ejscribner
ejscribner / travel-agent.vectors.poi-index.json
Created April 29, 2025 19:09
Travel Agent Point of Interest Vector Index
{
"type": "fulltext-index",
"name": "travel-agent.vectors.poi-index",
"uuid": "1ebc798727591913",
"sourceType": "gocbcore",
"sourceName": "travel-agent",
"sourceUUID": "3c8d923c16e5d0a40bbeb234603d7ff3",
"planParams": {
"maxPartitionsPerPIndex": 1024,
"indexPartitions": 1
@ejscribner
ejscribner / load_poi.sh
Created April 29, 2025 19:08
Load Travel Points of Interest to n8n Webhook
#!/bin/bash
# Check if URL argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <webhook-url>"
echo "Example: $0 http://localhost:5678/webhook-test/1234-5678-9101112-13141516-17181920"
exit 1
fi
# URL endpoint from command-line argument