Skip to contents

Store embedding rows in DuckDB

Usage

ducksemantics_write_embeddings(
  conn,
  embeddings,
  prefix = "semantic",
  replace = FALSE
)

Arguments

conn

DBI connection.

embeddings

Data frame from ducksemantics_embedding_batch().

prefix

Table prefix.

replace

Replace existing rows with the same subject and provider.

Value

Invisibly, written rows.