azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

Shelf life of data when using upload function - auto delete of data after x days

Open RobSch1406 opened this issue 1 year ago • 1 comments

  • [ ] bug report -> please search issues before submitting
  • [x ] feature request
  • [ ] documentation issue or request
  • [ ] regression (a behavior that used to work and stopped in a new release)
in the documentation of assistant (preview) there is the possibility to delete expired data: 

e.g. : 
`vector_store = client.beta.vector_stores.create_and_poll(
  name="Product Documentation",
  file_ids=['file_1', 'file_2', 'file_3', 'file_4', 'file_5'],
  expires_after={
	  "anchor": "last_active_at",
	  "days": 7
  }
)`

this is the link: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/file-search?tabs=python

have you already tried it to implement this into the current code?

Where to start? Thanks and best regards

RobSch1406 avatar Jul 04 '24 08:07 RobSch1406