Skip to content

Commit bd97fdf

Browse files
committed
fix: add missing statement
1 parent cbc27ba commit bd97fdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/tutorials/manage_flow_dynamically.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def text_embedding_flow_def(params: TextEmbeddingFlowParameters):
241241
data_scope["documents"] = flow_builder.add_source(
242242
cocoindex.sources.LocalFile(path=params.source_path))
243243

244+
doc_embeddings = data_scope.add_collector()
244245
...
245246

246247
# Export the collected data to a Postgres table, with the specified table name.

0 commit comments

Comments
 (0)