Genkit JS API reference
    Preparing search index...
    • Creates a BigQuery Document Indexer.

      This function returns a DocumentIndexer function that indexes documents into a BigQuery table. Note this indexer does not handle duplicate documents.

      Parameters

      • bq: BigQuery

        The BigQuery instance.

      • tableId: string

        The ID of the BigQuery table.

      • datasetId: string

        The ID of the BigQuery dataset.

      Returns DocumentIndexer

      • The DocumentIndexer function.