Open
Conversation
peterdeme
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds hybrid AI-powered search to Spacelift documentation, combining traditional keyword search with AutoRAG-based intelligent question answering.
Motivation
Users often have specific questions when searching documentation. Traditional keyword search requires knowing the exact terms to search for, which can be frustrating when exploring unfamiliar concepts. This hybrid approach allows users to ask natural language questions (ending with "?") to get AI-generated answers alongside relevant documentation pages, while maintaining fast keyword search for traditional queries.
Changes
Architecture
Frontend (
overrides/partials/search.html)Styling (
docs/assets/css/custom.css)Header Integration (
overrides/partials/header.html)Security Considerations
All API responses are sanitized to prevent XSS attacks:
javascript:,data:, andvbscript:protocolsPerformance
User Experience
?suffix) in placeholder textFallback Behavior
Testing Notes
To test AI search: