chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
How does the time/date filter working functional?
I'm trying to use the date filter to retrieve my database just during the specific time zone, but it seems not working as I wish, I don't get it, is it related to the "metadata:created_at" right?
where I insert: for key, value in item['chat_gpt_dict'].items(): documents.append({ 'id': key, 'text': value, 'metadata': { 'title': 'summary', 'created_at':'1674743424.0', 'author':'admin', } }) where I retrieve: filter: { start_date: ['2023-04-10T00:00:00', '2023-04-10'], // end_date: '2024-01-01T00:00:00Z', },