data_to_embed_pubsub.py
Source: sunholo/chunker/data_to_embed_pubsub.py
Functions
data_to_embed_pubsub(data: dict)
Triggered from a message on a Cloud Pub/Sub topic. Args: data JSON
direct_file_to_embed(file_name: pathlib.Path, metadata: dict, vector_name: str)
Send direct files to chunking embed pipeline