Skip to main content

Using ContextCrate

This section is for people who work with crates: creating them, ingesting sources, searching, chatting and connecting other tools. If you are installing or configuring ContextCrate itself, see Installation and administration. For the concepts behind the screens, see Architecture.

The workflow​

StepWhat you doRead more
1. Create a crateSign in and create your first crate. You become its Owner. Invite teammates as Viewer, Editor or Owner.Tutorials, Crates, Authorization
2. Add a sourceChoose a website or a Git repository and enter its address and credentials.Tutorials
3. Configure a jobSet scope, include and exclude globs, limits, chunk size and a schedule.Parsing, Chunking, Configuration
4. Run itStart the job and follow the pipeline stages. A fetch failure for one source only gives a warning.Pipeline
5. Check documentsOpen a document to see its chunks, versions and images.Parsing, Images
6. Search and askSearch from the crate overview or chat. Answers cite their sources.Retrieval, Answers
7. Integrate and improveConnect assistants and apps, then tune quality in the crate settings.Integrations, Features

Features​

The features are listed in the order content flows through the system.

FeatureWhat it doesPage
ParsingTurns web pages, Markdown and source code into clean documents; keeps code blocks, tables and headings; import control for Git files.Parsing
ChunkingCuts documents into passages along their structure, with chunk size and overlap.Chunking
Contextual headersPuts the document title, summary and section path in front of every chunk before it is embedded.Contextual headers
ImagesMakes meaningful images searchable and optionally describes them with a vision model.Images
CaptionsA vision model describes each image and the answer model each table and diagram code before indexing; the caption is embedded and leads back to the real chunk and its source.Captions and multi-modal RAG
EmbeddingsLocal or remote models that create the vectors for semantic search.Embeddings
RetrievalStandard and proposition retrieval, lexical, semantic, hybrid or fusion.Retrieval
Semantic chunkingOptional per ingestion job: cuts text where the topic changes, based on sentence embeddings, instead of by size.Semantic chunking
Document enrichmentThe model writes questions each chunk answers; they are indexed and lead back to the chunk, so user questions match questions instead of passages.Document enrichment
System promptsAn installation-wide prompt and an optional prompt per crate adjust tone, language and focus of answers; the built-in rules always come first.System prompts
Contextual compressionA model keeps only the sentences of each retrieved chunk that matter for the question and drops the rest, to save tokens.Contextual compression
Context windowAdds the chunks before and after each matched chunk to the answer context, without the chunk overlap.Context window
Hierarchical retrievalSummarizes document sections at indexing time; a question first finds the best sections, then searches chunks only inside them.Hierarchical retrieval
Dartboard retrievalRetrieves more candidates than needed and picks the top K that are relevant and different from each other, so sources do not repeat.Dartboard retrieval
Answer feedbackPeople rate answers (relevance and quality, 1 to 5); ratings can re-weight retrieval and well rated answers are added to the index.Answer feedback
RerankingOptional batched cross-encoder, or LLM based rating from 1 to 10, that reorders the best candidates.Reranking
Query transformationRewrites vague, specific or multi-part questions before searching.Query transformation
HyDESearches with an embedded hypothetical answer instead of the question.HyDE
AnswersGrounded answer generation with streaming and citations.Answers
GradingDrops retrieved chunks the model judges irrelevant.Grading
Answer verificationChecks the answer against its sources and revises or blocks unsupported claims.Answer verification
RAG evaluationScores sampled answers with a judge model: context relevance, faithfulness, answer relevance. Crate owners only.RAG evaluation

Most of these are switched on or tuned per crate on the crate's Settings page, by its Owner.

Integrations​

IntegrationUse it toPage
MCPGive AI assistants (Claude, Cursor and others) search and fetch tools for a crate.MCP
OpenAI-compatible endpointPoint Open WebUI, LiteLLM or an OpenAI SDK at a crate.OpenAI endpoint
REST APIAutomate crates, sources, runs, settings, export and import with personal or service keys.REST API

Everyday tasks​