We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7e518 commit b4324bcCopy full SHA for b4324bc
examples/postgres_source/main.py
@@ -63,8 +63,8 @@ def postgres_product_indexing_flow(
63
),
64
# Optional.
65
ordinal_column="modified_time",
66
+ notification=cocoindex.sources.PostgresNotification(),
67
- refresh_interval=datetime.timedelta(seconds=30),
68
)
69
70
indexed_product = data_scope.add_collector()
examples/postgres_source/pyproject.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
4
description = "Demonstrate how to use Postgres tables as the source for CocoIndex."
5
requires-python = ">=3.11"
6
dependencies = [
7
- "cocoindex[embeddings]>=0.2.1",
+ "cocoindex[embeddings]>=0.2.3",
8
"python-dotenv>=1.0.1",
9
"pgvector>=0.4.1",
10
"psycopg[binary,pool]",
0 commit comments