Spring Cloud Function coordinates Spring components as composable functions, reducing the wiring needed for pipelines that move files through document processing and storage. section 4.3.1 section 4.3.2
A document-loading pipeline can connect these stages:
- fileSupplier watches /var/dropoff and forwards selected files. section 4.3.2
- documentReader converts files into Document objects. section 4.3.2
- splitter creates smaller document chunks, and vectorStoreConsumer writes them to a vector store. section 4.3.2
spring.cloud.function.definition=\ fileSupplier|\ documentReader|\ splitter|\ titleDeterminer|\ vectorStoreConsumer
The pipe-delimited definition expresses the composed function as fileSupplier|documentReader|splitter|titleDeterminer|vectorStoreConsumer. section 4.3.2
