Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions examples/text_embedding/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ def text_embedding_flow(
metric=cocoindex.VectorSimilarityMetric.COSINE_SIMILARITY,
)
],
attachments=[
cocoindex.targets.PostgresSqlCommand(
name="new_column_foo",
setup_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo; ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN foo TEXT",
teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS foo",
),
cocoindex.targets.PostgresSqlCommand(
name="new_column_bar",
setup_sql="ALTER TABLE TextEmbedding__doc_embeddings ADD COLUMN bar TEXT",
teardown_sql="ALTER TABLE TextEmbedding__doc_embeddings DROP COLUMN IF EXISTS bar",
),
],
)


Expand Down