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

      This function returns a DocumentRetriever function that retrieves documents from a BigQuery table based on the provided neighbors.

      Parameters

      • bq: BigQuery

        The BigQuery instance.

      • tableId: string

        The ID of the BigQuery table.

      • datasetId: string

        The ID of the BigQuery dataset.

      Returns DocumentRetriever

      • The DocumentRetriever function.