generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

Retreiver - Delete cleanup

Open MarkDaoust opened this issue 1 year ago • 0 comments

Description of the bug:

  • Resource objects (Corpus, Document, Chunk) should have .delete methods
  • Methods like document.delete_chunk(chunk.name) should work on chunk objects not just chunk names.
  • Document and Chunk should probably have ".parent", or ".document" or ".corpus" methods.

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

MarkDaoust avatar Mar 29 '24 17:03 MarkDaoust