AI Astrologer

The AI Astrologer engine.

A conversational layer over the astrology engine. Every response is anchored in a deterministic chart context — not a generic chatbot — and gated by a defense-in-depth safety layer that intercepts medical, financial, and self-harm prompts. Multi-turn memory, tone + confidence labels, and structured remedies on every reply.

  • Bounded reasoning — every reply grounded in the user's deterministic chart context
  • Multi-turn memory keyed on caller-owned `conversation_id`
  • Defense-in-depth safety layer on input + output (medical / financial / self-harm)
  • Structured `practices` array on every response (planet, kind, summary)
  • Tone (supportive | reflective | grounded | calm | neutral) and confidence (low | moderate | high) labels
  • Optional `partner` block triggers compatibility-aware reasoning
Sample request/v1/chat/respond
bash
curl -X POST https://api.astronode.dev/v1/chat/respond \
  -H "Authorization: Bearer aie_test_…" \
  -H "Content-Type: application/json" \
  -d '{
  "conversation_id": "demo-conv-01",
  "user": {
    "date": "1973-04-24",
    "time": "17:25:00",
    "tz_offset_minutes": 330,
    "lat": 19.076,
    "lng": 72.8777
  },
  "message": "I keep second-guessing my career decisions. What'\''s that about?"
}'

Endpoints in this engine

3 endpoints, one consistent JSON shape

POST/v1/chat/respond

Generate an emotionally intelligent, astrology-grounded response.

Open in console
GET/v1/auth/whoami

Diagnostic — confirms the Bearer token is recognized by the chat service.

Open in console
GET/v1/health

Liveness probe (public, no auth).

Open in console

Ready to ship AI Astrologer features?

Free tier covers 100 calls/day. Upgrade when you need production headroom — Razorpay-billed, GST-compliant invoices.

Informational, not predictive. Not medical, legal, or financial advice.