A fluent knowledge assistant
AI.project builds an Assistant through documents, model, embedder, vector-store and retrieval options. Configuration methods compose; index, ask, evaluate and deploy execute the corresponding stages.
Alpha · v0.3.5
One composable interface, from documents to an AI system.
A Python library with a shared interface for model providers, retrieval, agents, tools, workflows, evaluation and deployment. Its knowledge-assistant path composes document ingestion, hybrid search, reranking and source-linked answers, with an offline mock model and local hashing embedder available from the start.
A model call is one stage in a larger system. aire exposes the contracts around it—data, retrieval, tools, safety and evaluation—so the same application structure can be exercised locally and connected to configured providers.
AI.project builds an Assistant through documents, model, embedder, vector-store and retrieval options. Configuration methods compose; index, ask, evaluate and deploy execute the corresponding stages.
The Retriever embeds the query, searches vectors and conditionally adds keyword hits. Reciprocal Rank Fusion combines rankings; retrieval then applies access filters and reranking before context assembly.
provider:name references resolve through a model registry and plugins. Models return structured generation objects, while AireError exposes stable codes, context and retryability.
mock:echo and local:hashing support a credential-free local loop. describe surfaces report component configuration and capabilities; intentionally incomplete media surfaces identify stub behavior.
Trace ingestion and query-time retrieval before following the provider call.
Explore how chunk size, overlap and top-k change a synthetic document’s indexing and retrieval footprint.
Illustrative chunking/retrieval model using synthetic text. It does not run aire, create embeddings or measure answer quality. The real library offers multiple chunkers, stores and rerankers.
Vector and keyword scores have different numerical meanings. Weighted reciprocal ranks provide a shared combination method; hybrid fusion is skipped when the store lacks keyword-search capability.
Fluent methods store choices while index and ask execute them. Sync wrappers and async entrypoints support different calling environments without changing the pipeline’s conceptual structure.
The README calls the library alpha and documents honest stubs for parts of vision, audio and training. Component descriptions and return flags help avoid mistaking a placeholder for a production model.
Implementation details, examples, and project documentation.
Inspected configuration, index, ask, evaluation and deployment methods.
Inspected candidate collection, capability gating and RRF.
Access filtering, context compression, generation and citations.
Cosine similarity, BM25-style text ranking and optional persistence.
Architecture and descriptions reflect the linked repository snapshot. The playground explains a mechanism; it does not execute the repository or report measured performance.