- 
                Notifications
    
You must be signed in to change notification settings  - Fork 251
 
          feat: add optional api-key para for qdrant
          #264
        
          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
          
     Closed
      
      
            alex-16rd
  wants to merge
  10
  commits into
  MemTensor:dev
from
alex-16rd:feature/add-optional-api_key-para-for-qdrant
  
      
      
   
      
    
                
     Closed
            
            
  
    feat: add optional api-key para for qdrant
  
  #264
              
                    alex-16rd
  wants to merge
  10
  commits into
  MemTensor:dev
from
alex-16rd:feature/add-optional-api_key-para-for-qdrant
  
      
      
   
              
            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
    
  
  
    
    ## This PR introduces multiple major updates across MemOS, focusing on evaluation, request context/logging, graph DB backends, retrieval/quoting, API capabilities, and prompts/templates. <!-- Please include a summary of the changes below; Fill in the issue number that this PR addresses (if applicable); Fill in the related MemOS-Docs repository issue or PR link (if applicable); Mention the person who will review this PR (if you know who it is); Replace (summary), (issue), (docs-issue-or-pr-link), and (reviewer) with the appropriate information. 请在下方填写更改的摘要; 填写此 PR 解决的问题编号(如果适用); 填写相关的 MemOS-Docs 仓库 issue 或 PR 链接(如果适用); 提及将审查此 PR 的人(如果您知道是谁); 替换 (summary)、(issue)、(docs-issue-or-pr-link) 和 (reviewer) 为适当的信息。 --> Summary: - **Evaluation**: Added LoCoMo RAG & LongMemEval scripts with reproducible run commands. - **API & Middleware**: Introduced request context and middleware for trace IDs and multi-user support; added non-streaming Chat Complete and “further questions” generation. - **Logging & Observability**: Implemented custom logger with trace ID, and asynchronous handling for logs, notifications, and memory writes. - **Graph Backends**: Improved NebulaGraph session pool management and stability; fixed Neo4j Community bug. - **Retrieval & References**: Enabled memos_cube-scoped retrieval, adjusted reference display/format, and added reject-answer path. - **Prompts & Templates**: Added multilingual templates and refined Mem Reader prompt. - **LLM & Examples**: Updated vLLM adapter, fixed multi-user example, added user_id field to general_text. - **Testing**: Added/updated tests for request context, memory reader, searcher, and logging. Fix: #(issue) Docs Issue/PR: (docs-issue-or-pr-link) Reviewer: @(reviewer) ## Checklist: - [ ] I have performed a self-review of my own code | 我已自行检查了自己的代码 - [ ] I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释 - [ ] I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常 - [ ] I have created related documentation issue/PR in [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) | 我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档 issue/PR(如果适用) - [ ] I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用) - [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人
| 
           [Update Branch]  | 
    
| 
           This PR has been automatically marked as stale due to inactivity.  | 
    
| 
           This PR has been automatically closed due to inactivity.  | 
    
  
    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: (summary)
api-keyparameter for QdrantTested with:
pytest -q MemOS/tests/configs/test_vec_db.py::test_qdrant_vec_db_configpytest -q MemOS/tests/vec_dbs/test_qdrant.py::test_client_receives_api_keyChecklist: