Conversation
- CLI-based personal knowledge assistant powered by OpenViking - Knowledge management: add files, directories, URLs - Intelligent Q&A with RAG and multi-turn conversation - Knowledge browsing with L0/L1/L2 context layers - Semantic search with intent analysis - Feishu/Lark MCP integration for document import - Rich CLI interface with prompt_toolkit
- Fix /tree command to handle dict list return type - Fix RAG recipe to load LLM config from ov.conf instead of removed attributes - Fix find/search methods to use 'limit' parameter instead of 'top_k'
- Strip trailing slashes from URIs to prevent path errors - Improve tree display to handle dict list return type
- Add recursive directory import with file type filtering - Improve error handling for add_resource results - Add proper cleanup on exit to kill AGFS processes - Fix import_dir to use new directory handling logic
…ll content - Lower default score_threshold from 0.3 to 0.1 (actual scores are 0.17-0.25) - Fix build_context to use client.read() for full content instead of just abstract - This fixes the issue where queries returned no results despite data being indexed
…, smart context loading
…ction, hybrid search, rerank - P0: Integrate OpenViking Session for context-aware search with IntentAnalyzer - P1: Add session.commit() for long-term memory extraction (6 categories) - P2: Implement hybrid search strategy (find for simple, search for complex) - P3: Add LLM-based rerank for improved result relevance New CLI commands: /session, /commit, /memories
- abstract() only works for directories, not files - Changed to try read() first, then abstract() for directories - This fixes the issue where only 1 result was returned instead of 5
- Remove high_confidence_threshold and low_confidence_threshold - Remove rerank (use OpenViking score directly) - Remove confidence hints from system prompt - Unified content loading: all results get full content (2000 chars) - Simpler build_context without confidence logic
…xpansion - Remove _should_use_deep_search and find() auto-selection - Always use search() with session for IntentAnalyzer - Add _expand_query() to expand Chinese queries with English keywords - Example: 'OpenViking 怎么安装' → 'OpenViking 怎么安装 installation setup install pip' - Installation doc now ranks #1 (was not in top 5 before)
|
|
| - `/feishu-doc <id>` - Import Feishu document | ||
| - `/feishu-search <query>` - Search Feishu documents | ||
|
|
||
| Set `FEISHU_APP_ID` and `FEISHU_APP_SECRET` environment variables to enable. |
There was a problem hiding this comment.
if using app secret (tenant access key?), only doc with app permission can be imported?
can we improve to integrate and auto-refresh user access key
| return {"status": "no_session"} | ||
| try: | ||
| result = self._session.commit() | ||
| return result |
There was a problem hiding this comment.
here need wait_processed (before process end), for embedding work
examples/memex/rag/recipe.py
Outdated
| if backend == "openai": | ||
| self._llm_client = OpenAI( | ||
| api_key=vlm.get("api_key"), | ||
| base_url=vlm.get("api_base"), |
There was a problem hiding this comment.
nit: add openai api_base default
There was a problem hiding this comment.
thanks, I will fix this.
examples/memex/rag/recipe.py
Outdated
|
|
||
| try: | ||
| content = self.client.read(uri) | ||
| content = content[:2000] if content else "" |
There was a problem hiding this comment.
from my experience, [:2000] creates unexpected result. consider remove
There was a problem hiding this comment.
thanks, I will fix this.
|
idea of list of commands is great, would you mind merge with chatmem example, we can work on the same |
are you refering to merging the two directories into one? |
- Add wait_processed() after session commit for memory embedding - Add OpenAI api_base default (https://api.openai.com/v1) - Remove [:2000] content truncation that caused unexpected results
yes, so there won't be two similar TUI feature, leading to ambiguity |
I think it's fine, but these two projects may not completely align functionally. |
|
@A11en0 in dir: examples/memex, |
Description
Memex is a CLI-based personal knowledge assistant demo powered by OpenViking. It demonstrates how to build a complete RAG application with:
Related Issue
N/A
Type of Change
Changes Made
Testing
Checklist
Screenshots (if applicable)
N/A