Skip to content

Conversation

@CaralHsi
Copy link
Collaborator

@CaralHsi CaralHsi commented Jul 30, 2025

Description

Summary:

➕ Added BochaAI Search Retriever

Created BochaAISearchAPI and BochaAISearchRetriever for /v1/web-search & /v1/ai-search.

Added parsing logic for BochaAI’s nested response format (data → webPages → value).

Integrated with InternetRetrieverFactory via backend="bocha".

🔧 NebulaGraph Multi-Embedding Support

Refactored NebulaGraphDB to support dynamic embedding fields (e.g. embedding_1024, embedding_3072).

Adjusted vector index creation, node/edge operations, and query formatting to work with different embedding dimensions.

📝 Examples & Config Updates

Added textual_memory_internet_search_example.py showing how to use BochaAISearchRetriever.

Introduced BochaSearchConfig to InternetRetrieverConfigFactory.

Fix: #196 #197

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @CaralHsi

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 (if applicable) | 我已在 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 的人

@CaralHsi CaralHsi changed the title fix: nebula multi-embedding fix: nebula multi-embedding & add BochaAI Search Retriever Jul 30, 2025
@CaralHsi CaralHsi marked this pull request as ready for review July 30, 2025 06:54
@CaralHsi CaralHsi merged commit cd99dc5 into MemTensor:dev Jul 30, 2025
20 checks passed
@CaralHsi CaralHsi deleted the feat/bocha-search branch July 30, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants