R2R
R2R copied to clipboard
The all-in-one solution for RAG. Build, scale, and deploy state of the art Retrieval-Augmented Generation applications
**Describe the bug** My code is like this: ``` ingest_response = self.r2r.ingest_files( file_paths=[document.file_path], metadatas=[metadata] ) document_id = ingest_response['results'][0]['document_id'] try: self.r2r.assign_document_to_collection(document_id, self.r2r.collection_id) except Exception as e: logger.error(f"Error assigning document to collection:...