Need to create an OpenAI assistant to query csv data

I want to create an OpenAI assistant that would take a .csv file with file_search and code_interpreter enabled.

The .CSV file is on S3 that is updated regularly, I need a way to ensure everytime the file is updated, it can be automatically updated on the assistant as well.

I created an assistant on flowise which works perfectly but the issue is that there’s no way to update the file automatically.

Please advise how can I achieve this. I’m happy with any viable solution code or no code.

Code-interpretation is also a must as the use case requires rendering graphs etc.

Thanks.

2 Likes