traceify.anmol0b.xyz/x/naval

From a handle to a grounded answer. Every question is matched against the person's own tweets before a reply is written.
GET /api/profiles/naval
200 OK
profilesaved
tweets100
retweets, repliesskipped
cache24h
01
Fetch
The profile and about 100 recent original tweets are pulled from X, with retweets and replies left out, then cached for 24 hours.
bge-small-en-v1.5 · 384 dims
02
Embed
Each tweet becomes a 384-dimension vector and is stored in Neon Postgres with pgvector.
q: “views on startups”
tweet 140.82tweet 030.77tweet 570.7103
Retrieve
Your question is embedded too, and a cosine search over an HNSW index pulls the tweets that match it best.
- What do they write about most?
04
Answer
Groq streams the reply token by token, written from the profile, its engagement stats and the matched tweets.
Built with
- Next.js
- FastAPI
- Neon Postgres
- pgvector
- fastembed
- Groq