autointent#

This is AutoIntent API reference.

Submodules#

Classes#

Ranker

Cross-encoder for Natural Language Inference (NLI).

Embedder

A wrapper for managing embedding models with multiple backends.

VectorIndex

A class for managing a vector index and embedding models.

Dataset

Represents a dataset with associated metadata and utilities for processing.

Hasher

A class that provides methods for hashing data using xxhash.

Context

Context manager for configuring and managing data handling, vector indexing, and optimization.

OptimizationConfig

Configuration for the optimization process.

Pipeline

Pipeline optimizer class.

Functions#

setup_logging(level[, log_filename])

Set stdout and file handlers for logging autointent internal actions.

load_dataset(path)

Load data from a specified path or use default sample data.