- 
                Notifications
    You must be signed in to change notification settings 
- Fork 37
Use custom dataset as response source #200
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
          
     Merged
      
      
    
  
     Merged
                    Changes from 24 commits
      Commits
    
    
            Show all changes
          
          
            34 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      97b4230
              
                Show config in yaml
              
              
                pancak3 b001ac6
              
                load or download response dataset
              
              
                pancak3 b4adccc
              
                Init dataset when sim starts and show downloading speed of url
              
              
                pancak3 1112b0d
              
                Fix tests and init dataset when loading sim
              
              
                pancak3 23b9325
              
                Move dataset init to startSim
              
              
                pancak3 1840d68
              
                Change db structure and add test cases
              
              
                pancak3 ce81267
              
                fix test
              
              
                pancak3 44100d5
              
                remove duplicates in request.go
              
              
                pancak3 5a144f1
              
                Move token generation to simulator
              
              
                pancak3 a4cd9a8
              
                Generate tokens instead of strings
              
              
                pancak3 ac5a575
              
                Move dataset.go to common
              
              
                pancak3 c56728a
              
                Refactor: abstract dataset and move response generation from common t…
              
              
                pancak3 39a9d24
              
                fix dataset tests
              
              
                pancak3 6cf6eff
              
                add tests for custom dataset
              
              
                pancak3 46076d6
              
                fix custom dataset test case
              
              
                pancak3 e1a555a
              
                Remove unnecessary config
              
              
                pancak3 2356d80
              
                Add cli arg of dataset path and url, also update readme
              
              
                pancak3 51c6f49
              
                Return random from dataset if prmopt hash does not hit
              
              
                pancak3 789a4f2
              
                Respect maxTokens
              
              
                pancak3 1baeb9e
              
                Resolve conflicts and fix test case
              
              
                pancak3 d642975
              
                Update readme
              
              
                pancak3 eacaa8e
              
                Remove unnecessary log
              
              
                pancak3 b5518a7
              
                Ignore test temp folder
              
              
                pancak3 e13352b
              
                Update README
              
              
                pancak3 5d59137
              
                flat config
              
              
                pancak3 7d81913
              
                Use ctx in main
              
              
                pancak3 d93174f
              
                Update readme and dataset downloading logic
              
              
                pancak3 fc6e2fa
              
                Pass logger when init dataset
              
              
                pancak3 63c184e
              
                Improve progress logging, show it every 5 seconds or 10%
              
              
                pancak3 e46ae87
              
                Use in memory database
              
              
                pancak3 ad88ac3
              
                Use backup api to load dataset from disk to memory
              
              
                pancak3 addb352
              
                Remove duplicated log of Server starting
              
              
                pancak3 eb591ef
              
                use klog
              
              
                pancak3 b3ac9f5
              
                update readme
              
              
                pancak3 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
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.