Skip to contents

This function loads the index data for a given domain from a parquet file.

Usage

load_index(domain, local_embeddings = FALSE)

Arguments

domain

A character string indicating the name of the domain.

local_embeddings

A logical indicating whether to load the local embeddings or the OpenAI embeddings. Defaults to FALSE.

Value

A data frame containing the index data for the specified domain.

Examples

if (FALSE) {
load_index("example_domain")
}