aws-samples / serverless-pdf-chat

LLM-powered document chat using Amazon Bedrock and AWS Serverless
https://aws.amazon.com/blogs/compute/building-a-serverless-document-chat-with-aws-lambda-and-amazon-bedrock/
MIT No Attribution
228 stars 206 forks source link

delete documents #26

Closed mohsiniqbal368 closed 9 months ago

mohsiniqbal368 commented 9 months ago

How can we cleanly delete documents. Is deleting FAISS index from S3 sufficient?

pbv0 commented 9 months ago
  1. Delete the FAISS dump in S3
  2. Delete all conversations with the file from the DynamoDB MemoryTable
  3. Delete the entry of the file from the DynamoDB DocumentTable
pbv0 commented 9 months ago

Closing this for now, please reopen if anything is unclear.