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 ed4610d commit 844739eCopy full SHA for 844739e
examples/text_embedding/main.py
@@ -71,18 +71,6 @@ def text_embedding_flow(
71
metric=cocoindex.VectorSimilarityMetric.COSINE_SIMILARITY,
72
)
73
],
74
- attachments=[
75
- cocoindex.targets.PostgresSqlCommand(
76
- name="new_column_foo",
77
- setup_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo; ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN foo TEXT",
78
- teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo",
79
- ),
80
81
- name="new_column_bar",
82
- setup_sql="ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN bar TEXT",
83
- teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS bar",
84
85
- ],
86
87
88
0 commit comments