cognee/cognee-mcp/src
AnveshJarabani 6a5ba70ced
docs: Add comprehensive docstrings and fix default top_k consistency
Address PR feedback from CodeRabbit AI:
- Add detailed docstring for search_task internal function
- Document top_k parameter in main search function docstring
- Fix default top_k inconsistency (was 10 in client, now 5 everywhere)
- Clarify performance implications of different top_k values

Changes:
- server.py: Add top_k parameter documentation and search_task docstring
- cognee_client.py: Change default top_k from 10 to 5 for consistency

This ensures consistent behavior across the MCP call chain and
provides clear guidance for users on choosing appropriate top_k values.
2026-01-03 01:33:13 -06:00
..
codingagents fix: fixes distributed pipeline (#1454) 2025-10-09 14:06:25 +02:00
__init__.py chore: update Docker image comment and improve import handling for CogneeClient 2025-10-10 16:02:58 +01:00
client.py add format 2025-10-25 11:59:46 +02:00
cognee_client.py docs: Add comprehensive docstrings and fix default top_k consistency 2026-01-03 01:33:13 -06:00
server.py docs: Add comprehensive docstrings and fix default top_k consistency 2026-01-03 01:33:13 -06:00
test_client.py chore: formatting 2025-12-12 13:46:16 +01:00