Skip to content

Commit f749375

Browse files
committed
chore: Undo change to examples/pdf_embedding
Signed-off-by: Anush008 <[email protected]>
1 parent 86fc14c commit f749375

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/pdf_embedding/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def pdf_embedding_flow(flow_builder: cocoindex.FlowBuilder, data_scope: cocoinde
6161

6262
doc_embeddings.export(
6363
"doc_embeddings",
64-
cocoindex.storages.Qdrant(collection_name="cocoindex"),
64+
cocoindex.storages.Postgres(),
6565
primary_key_fields=["id"],
6666
vector_index=[("embedding", cocoindex.VectorSimilarityMetric.COSINE_SIMILARITY)])
6767

examples/text_embedding/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ def _run():
6464

6565
if __name__ == "__main__":
6666
load_dotenv(override=True)
67-
_run()
67+
_run()

examples/text_embedding/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name = "text-embedding"
33
version = "0.1.0"
44
description = "Simple example for cocoindex: build embedding index based on local text files."
55
requires-python = ">=3.10"
6-
dependencies = ["cocoindex>=0.1.19", "python-dotenv>=1.0.1"]
6+
dependencies = ["cocoindex>=0.1.19", "python-dotenv>=1.0.1"]

0 commit comments

Comments
 (0)