Skip to content

Commit 3924aee

Browse files
committed
Bug fix for flow name: dash not allowed.
1 parent 34d49cb commit 3924aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def text_to_embedding(text: cocoindex.DataSlice) -> cocoindex.DataSlice:
6464
cocoindex.functions.SentenceTransformerEmbed(
6565
model="sentence-transformers/all-MiniLM-L6-v2"))
6666

67-
@cocoindex.flow_def(name="DocumentAI-PDF-Embedding")
67+
@cocoindex.flow_def(name="DocumentAiPdfEmbedding")
6868
def pdf_embedding_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoindex.DataScope):
6969
"""
7070
Define an example flow that embeds files into a vector database.

0 commit comments

Comments
 (0)