azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Shelf life of data when using upload function - auto delete of data after x days
- [ ] 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