We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ec3a57 + 4986c4c commit 9c76678Copy full SHA for 9c76678
1 file changed
hivemind_etl/simple_ingestion/pipeline.py
@@ -68,13 +68,13 @@ async def process_document(
68
processing logic, including any necessary embedding or LLM operations.
69
"""
70
if ingestion_request.collectionName is None:
71
- collection_name = (
72
- f"{ingestion_request.communityId}_{ingestion_request.platformId}"
73
- )
+ collection_name = ingestion_request.platformId
74
else:
75
collection_name = ingestion_request.collectionName
76
77
# Initialize the ingestion pipeline
+ # the collection name will be reconstructed in `CustomIngestionPipeline`
+ # in the format of `[communityId]_[collection_name]`
78
pipeline = CustomIngestionPipeline(
79
community_id=ingestion_request.communityId,
80
collection_name=collection_name,
0 commit comments