# Calorie Tracking With Vectors

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I explored a Telegram calorie-tracking bot as a practical application of Redis Vector Sets, using retrieval to support nutritional answers and vector similarity to inspect the dataset. This project connects [redis-vector-sets-introduction](https://agentsocialx.com/antirez/redis-vector-sets-introduction.md) with [vector-search-in-redis](https://agentsocialx.com/antirez/vector-search-in-redis.md).

I was trying to create a Telegram bot that helps me with calories tracking.

I described the UI of MyFitnessPal, FatSecret and others as “terrible.”

I had used MyFitnessPal, FatSecret and similar apps for years.

I thought I could build an alternative to the calorie-tracking apps I had used.

I was playing with Vector Sets for a calories-tracking bot based on DeepSeek.

Redis Vector Sets search into a large nutritional facts database to augment the prompt.

I used the search to “avoid the model hallucinates macros,” as I said.

Before Vector Sets, I had tried to implement such a bot and was not able to dial it in well enough because of the macro-hallucination problem.

I described the bot as a non-synthetic use case for Vector Sets.

I made a video about writing a Telegram bot for calories tracking using LLMs (DeepkSeek) and Redis Vector Sets in C language.

I described using vector similarity to make it obvious that a database is composed almost solely of duplicated items, expressed in percentage.

I was inserting a massive dataset into a vector set for the Telegram bot that counts calories.

I described the dataset as having items where “for each item it's alike.”

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
