- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
feat(rag): FAISS vectors and hybrid retrieval #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            haz3141
  wants to merge
  18
  commits into
  main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
feat/rag-advanced
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          Conversation
  
    
      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
    
  
  
    
    …triever - Add Embeddings class with sentence-transformers and stub fallback - Add FaissIndex for vector similarity search with numpy fallback - Add HybridRetriever combining BM25 and vector scores - Add comprehensive tests for hybrid retrieval - Update requirements.txt with new dependencies
- Add RetrieveHybridRequest model with query, k, and alpha parameters - Add retrieve_hybrid endpoint that uses HybridRetriever - Returns hits with both vector and BM25 scores for transparency
- Update .env.sample with new environment variables for embeddings and hybrid retrieval - Update CI configuration to run hybrid retrieval tests with stub embeddings
- Add lab/security/redact.py for PII pattern redaction - Add lab/security/guardian.py for tool allowlist and response sanitization - Add comprehensive tests for security modules - Integrate Guardian into MCP server endpoints - Add audit logging for all tool calls - Add evaluation harness with hit@k and mrr@k metrics - Add observability with JSONL audit logs - Add promotion flow documentation and security checklist - Update CI with new tests and evaluation step
  
    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.
  
    
  
    
Step 6: Advanced RAG Enhancements
Features Added
Technical Details
Version
Bumps to v0.5.0
Testing