Hmm this would work but we are exporting multiple channels within a server. it might be a little tricky to create seperate indices as the time range of the conversations can be over 2 years in some cases. It's so sad that GPT is not really good with dates
It might be possible to get the LLM to code a python filter using the datetime library. I wonder if this could be added as a feature to llama index π€ GPTDateTimeIndex or something lol
Anyways though, I still think the tool approach is viable. Using common date ranges like all time, last year, last 6 month, last month, last week, last 24 hours, is only 6 indexes/tools, not too bad. Easy to filter the messages before creating the index since you can parse the timestamps