embeddings
(List[List[float]]
): List of embeddings to add to the index.routes
(List[str]
): List of routes to add to the index.utterances
(List[str]
): List of utterances to add to the index.function_schemas
(Optional[List[Dict[str, Any]]]
): List of function schemas to add to the index.metadata_list
(List[Dict[str, Any]]
): List of metadata to add to the index.include_metadata
: Whether to include function schemas and metadata in
the returned Utterance objects - LocalIndex now includes metadata if present.List[Utterance]
: A list of Utterance objects.
IndexConfig
: An IndexConfig object.
bool
: True if the index is ready, False otherwise.
bool
: True if the index is ready, False otherwise.
vector
(np.ndarray
): The vector to search for.top_k
(int
): The number of results to return.route_filter
(Optional[List[str]]
): The routes to filter the search by.sparse_vector
(dict[int, float] | SparseEmbedding | None
): The sparse vector to search for.Tuple[np.ndarray, List[str]]
: A tuple containing the query vector and a list of route names.
vector
(np.ndarray
): The vector to search for.top_k
(int
): The number of results to return.route_filter
(Optional[List[str]]
): The routes to filter the search by.sparse_vector
(dict[int, float] | SparseEmbedding | None
): The sparse vector to search for.Tuple[np.ndarray, List[str]]
: A tuple containing the query vector and a list of route names.
List[str]
: A list of routes.
route_name
(str
): The name of the route to delete.route_name
(str
): The name of the route to delete.None
: None
None
: None