- 
                Notifications
    
You must be signed in to change notification settings  - Fork 99
 
feat: add self-query functionality #163
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
      
      
            Robbe-Superlinear
  wants to merge
  31
  commits into
  main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
self-query
  
      
      
   
  
    
  
  
  
 
  
      
    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.
          
          
  
     Open
                    Changes from 19 commits
      Commits
    
    
            Show all changes
          
          
            31 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      11a3850
              
                feat: add self-query functionality
              
              
                jirastorza f954bca
              
                fix: modified self_query_prompt
              
              
                jirastorza f0e66da
              
                fix: modified self_query_prompt
              
              
                jirastorza 2e6c436
              
                fix: code simplification
              
              
                jirastorza 3507ad5
              
                fix: test rag
              
              
                jirastorza 238d3a1
              
                fix: add self_query option to config and update tool calling logic.
              
              
                jirastorza b8055da
              
                fix: corret logger
              
              
                jirastorza 9e32790
              
                fix: linting
              
              
                jirastorza c8e4fa9
              
                fix: simplify rag test.
              
              
                jirastorza ff97cd2
              
                fix: remove repetitive self_query call.
              
              
                jirastorza e12ed5b
              
                fix: move self_query to _search.py
              
              
                jirastorza 752ea2b
              
                fix: modify test structure.
              
              
                jirastorza b0b46a6
              
                fix: allow list metadata values.
              
              
                jirastorza 5d575e9
              
                fix: allow list type metadata handling.
              
              
                jirastorza b32f070
              
                fix: reduce MetadataValues to hashable types, modify document metadat…
              
              
                jirastorza f937fe6
              
                fix: adapt test.
              
              
                jirastorza f68d1c7
              
                fix: adapt test case to changes.
              
              
                jirastorza ecbcae2
              
                fix: additional test fix.
              
              
                jirastorza fb5a01b
              
                fix: database chunk and document metadata.
              
              
                jirastorza 15a6000
              
                fix: update README.
              
              
                jirastorza f20c512
              
                Merge remote-tracking branch 'origin/main' into self-query
              
              
                jirastorza 1e10550
              
                fix: ensure metadata is stored as proper JSON without escape characters
              
              
                jirastorza 723931d
              
                fix: handle hex byte escape sequences in metadata filter values
              
              
                jirastorza 775cae3
              
                fix: sanitize LLM metadata output to remove NULs and decode escaped c…
              
              
                jirastorza 1e3cb2d
              
                docs: clarify comment explaining why LLM output is cleaned after extr…
              
              
                jirastorza ed8558e
              
                fix: remove metadata filter decoding
              
              
                jirastorza 5586c08
              
                fix: decode escaped Unicode sequences in metadata_filter
              
              
                jirastorza f83e57a
              
                fix: encode query with ensure_ascii for consistent Unicode handling i…
              
              
                jirastorza dc4e62a
              
                feat: use ID-based metadata mapping for more reliable self-query extr…
              
              
                jirastorza 1e2c9a0
              
                feat: use ID-based metadata mapping for more reliable self-query extr…
              
              
                jirastorza f8225f5
              
                fix: update self_query template for small model extraction
              
              
                jirastorza File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
          Some comments aren't visible on the classic Files Changed page.
        
There are no files selected for viewing
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  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.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.